Class HydrogenKey
java.lang.Object
io.aether.crypto.hydrogen.HydrogenKey
- All Implemented Interfaces:
io.aether.crypto.AKey, io.aether.crypto.CryptoProviderUnit, io.aether.utils.ToString
- 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 interface io.aether.crypto.AKey
asAsymmetric, asSignPrivate, asSignPublic, asSymmetric, toSignedKey, toSignedKeyMethods inherited from interface io.aether.utils.ToString
toAString, toString2
-
Field Details
-
HYDROGEN_LIB_CTX
public static final byte[] HYDROGEN_LIB_CTX -
data
protected final byte[] data -
keyType
protected final io.aether.crypto.KeyType keyType -
providerName
- See Also:
-
-
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
-