Class OpenSSLX25519PublicKey
java.lang.Object
org.conscrypt.OpenSSLX25519PublicKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PublicKey, OpenSSLX25519Key
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate final byte[]private static final byte[]Fields inherited from interface OpenSSLX25519Key
X25519_KEY_SIZE_BYTES -
Constructor Summary
ConstructorsConstructorDescriptionOpenSSLX25519PublicKey(byte[] coordinateBytes) OpenSSLX25519PublicKey(EncodedKeySpec keySpec) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]byte[]getU()inthashCode()private voidreadObject(ObjectInputStream stream) private voidwriteObject(ObjectOutputStream stream) Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AsymmetricKey
getParams
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
X509_PREAMBLE
private static final byte[] X509_PREAMBLE -
uCoordinate
private final byte[] uCoordinate
-
-
Constructor Details
-
OpenSSLX25519PublicKey
- Throws:
InvalidKeySpecException
-
OpenSSLX25519PublicKey
public OpenSSLX25519PublicKey(byte[] coordinateBytes)
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getU
public byte[] getU()- Specified by:
getUin interfaceOpenSSLX25519Key
-
equals
-
hashCode
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-