Class SodiumKey

    • Field Detail

      • data

        protected final byte[] data
      • keyType

        protected final io.aether.crypto.KeyType keyType
    • Constructor Detail

      • SodiumKey

        protected SodiumKey​(byte[] data,
                            io.aether.crypto.KeyType keyType)
    • Method Detail

      • getData

        public byte[] getData()
        Specified by:
        getData in interface io.aether.crypto.AKey
      • getKeyType

        public io.aether.crypto.KeyType getKeyType()
        Specified by:
        getKeyType in interface io.aether.crypto.AKey
      • getProviderName

        public java.lang.String getProviderName()
        Specified by:
        getProviderName in interface io.aether.crypto.CryptoProviderUnit
      • getCryptoProvider

        public io.aether.crypto.CryptoProvider getCryptoProvider()
        Specified by:
        getCryptoProvider in interface io.aether.crypto.CryptoProviderUnit
      • size

        public int size()
        Specified by:
        size in interface io.aether.crypto.AKey
      • keyToString

        public java.lang.String keyToString()
        Specified by:
        keyToString in interface io.aether.crypto.AKey
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object