Package org.mozilla.jss.pkcs11
Class PK11Key
java.lang.Object
org.mozilla.jss.pkcs11.PK11Key
- All Implemented Interfaces:
Serializable
,AutoCloseable
,Key
- Direct Known Subclasses:
PK11PrivKey
,PK11PubKey
-
Field Summary
FieldsFields inherited from interface java.security.Key
serialVersionUID
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.security.Key
getAlgorithm
-
Field Details
-
keyProxy
-
-
Constructor Details
-
PK11Key
protected PK11Key()
-
-
Method Details
-
getEncoded
public byte[] getEncoded()Subclasses that support encoding can overload this method.- Specified by:
getEncoded
in interfaceKey
-
getFormat
Subclasses that support encoding can overload this method. -
writeObject
- Throws:
IOException
-
readObject
- Throws:
IOException
ClassNotFoundException
-
finalize
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-