Package org.conscrypt
Class OpenSslXwingPublicKey
java.lang.Object
org.conscrypt.OpenSslXwingPublicKey
- All Implemented Interfaces:
Serializable,Key,PublicKey
An X-Wing public key.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final intprivate final byte[]private static final longprivate static final byte[] -
Constructor Summary
ConstructorsConstructorDescriptionOpenSslXwingPublicKey(byte[] raw) OpenSslXwingPublicKey(EncodedKeySpec keySpec) -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
PUBLIC_KEY_SIZE_BYTES
static final int PUBLIC_KEY_SIZE_BYTES- See Also:
-
x509Preamble
private static final byte[] x509Preamble -
raw
private final byte[] raw
-
-
Constructor Details
-
OpenSslXwingPublicKey
- Throws:
InvalidKeySpecException
-
OpenSslXwingPublicKey
public OpenSslXwingPublicKey(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
-
writeObject
-