Package org.conscrypt
Class OpenSslSlhDsaPublicKey
java.lang.Object
org.conscrypt.OpenSslSlhDsaPublicKey
- All Implemented Interfaces:
Serializable,Key,PublicKey
An SLH-DSA public key.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final intprivate final byte[]private static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[](package private) byte[]getRaw()inthashCode()private voidreadObject(ObjectInputStream stream) private voidwriteObject(ObjectOutputStream stream)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
PUBLIC_KEY_SIZE_BYTES
static final int PUBLIC_KEY_SIZE_BYTES- See Also:
-
raw
private final byte[] raw
-
-
Constructor Details
-
OpenSslSlhDsaPublicKey
public OpenSslSlhDsaPublicKey(byte[] raw)
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getRaw
byte[] getRaw() -
equals
-
hashCode
public int hashCode() -
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-