Class sun.security.jsafe.JSafeKey
All Packages Class Hierarchy This Package Previous Next Index
Class sun.security.jsafe.JSafeKey
java.lang.Object
|
+----java.security.Key
|
+----sun.security.SunKey
|
+----sun.security.x509.X509Key
|
+----sun.security.jsafe.JSafeKey
- public class JSafeKey
- extends X509Key
Holds a BSAFE key object, without any of the algorithm-specific
data that's needed to talk to native methods.
-
encode(OutputStream)
- There's a package-visible version of this so we can have
package-private key storage.
-
finalize()
- When the Java key is garbage collected, the BSAFE key object
needs to be explicitly released ...
-
init()
- Called to ensure that the BSAFE key object has been created.
encode
protected void encode(OutputStream out) throws InvalidKeyException, IOException
- There's a package-visible version of this so we can have
package-private key storage.
- Overrides:
- encode in class X509Key
init
public synchronized abstract void init() throws InvalidKeyException
- Called to ensure that the BSAFE key object has been created.
Creation of these objects is deferred for as long as possible,
since it's not free and in some common cases it's not needed.
finalize
protected void finalize()
- When the Java key is garbage collected, the BSAFE key object
needs to be explicitly released ... if it's been created.
- Overrides:
- finalize in class Object
All Packages Class Hierarchy This Package Previous Next Index