Class OpenSslXwingPrivateKey
java.lang.Object
org.conscrypt.OpenSslXwingPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable
An X-Wing private key.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[](package private) static final intprivate byte[]private static final long -
Constructor Summary
ConstructorsConstructorDescriptionOpenSslXwingPrivateKey(byte[] raw) OpenSslXwingPrivateKey(EncodedKeySpec keySpec) -
Method Summary
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:
-
PRIVATE_KEY_SIZE_BYTES
static final int PRIVATE_KEY_SIZE_BYTES- See Also:
-
pkcs8Preamble
private static final byte[] pkcs8Preamble -
raw
private byte[] raw
-
-
Constructor Details
-
OpenSslXwingPrivateKey
- Throws:
InvalidKeySpecException
-
OpenSslXwingPrivateKey
public OpenSslXwingPrivateKey(byte[] raw)
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getRaw
byte[] getRaw() -
destroy
public void destroy()- Specified by:
destroyin interfaceDestroyable
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceDestroyable
-
equals
-
hashCode
-
readObject
-
writeObject
-