Package io.aether.crypto.hydrogen
Class HydrogenKey
java.lang.Object
io.aether.crypto.hydrogen.HydrogenKey
- All Implemented Interfaces:
io.aether.crypto.AKey,io.aether.crypto.CryptoProviderUnit
- Direct Known Subclasses:
HydrogenKey.AsymmetricPrivate,HydrogenKey.AsymmetricPublic,HydrogenKey.SignPrivate,HydrogenKey.SignPublic,HydrogenKey.Symmetric
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final byte[]static final byte[]protected final io.aether.crypto.KeyTypeprotected final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHydrogenKey(byte[] data, io.aether.crypto.KeyType keyType) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.aether.crypto.AKey
asAsymmetric, asSignPublicKey, asSymmetric, toSignedKey, toSignedKey
-
Field Details
-
data
protected final byte[] data -
keyType
protected final io.aether.crypto.KeyType keyType -
providerName
- See Also:
-
HYDROGEN_LIB_CTX
public static final byte[] HYDROGEN_LIB_CTX
-
-
Constructor Details
-
HydrogenKey
protected HydrogenKey(byte[] data, io.aether.crypto.KeyType keyType)
-
-
Method Details
-
getData
public byte[] getData()- Specified by:
getDatain interfaceio.aether.crypto.AKey
-
getKeyType
public io.aether.crypto.KeyType getKeyType()- Specified by:
getKeyTypein interfaceio.aether.crypto.AKey
-
getProviderName
- Specified by:
getProviderNamein interfaceio.aether.crypto.CryptoProviderUnit
-
getCryptoProvider
public io.aether.crypto.CryptoProvider getCryptoProvider()- Specified by:
getCryptoProviderin interfaceio.aether.crypto.CryptoProviderUnit
-
size
public int size()- Specified by:
sizein interfaceio.aether.crypto.AKey
-
keyToString
- Specified by:
keyToStringin interfaceio.aether.crypto.AKey
-
toString
-
equals
-
hashCode
-