Class P256AesGcmKey

java.lang.Object
io.aether.crypto.p256.P256AesGcmKey
All Implemented Interfaces:
io.aether.crypto.AKey, io.aether.crypto.CryptoProviderUnit, io.aether.utils.ToString
Direct Known Subclasses:
P256AesGcmKey.AsymmetricPrivate, P256AesGcmKey.AsymmetricPublic, P256AesGcmKey.SignPrivate, P256AesGcmKey.SignPublic, P256AesGcmKey.Symmetric

public abstract class P256AesGcmKey extends Object implements io.aether.crypto.AKey
  • Field Details

    • data

      protected final byte[] data
    • keyType

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

    • P256AesGcmKey

      protected P256AesGcmKey(byte[] data, io.aether.crypto.KeyType keyType, int expectedSize)
  • Method Details

    • 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 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
    • toString

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object