Skip navigation links

Oracle Fusion Middleware Crypto Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10668-04


oracle.security.crypto.core
Interface PrivateKey

All Superinterfaces:
ASN1Object, java.lang.Cloneable, java.io.Externalizable, java.security.Key, java.security.PrivateKey, java.io.Serializable, Streamable

public interface PrivateKey
extends Key, ASN1Object, java.security.PrivateKey

An interface for a private key.


Field Summary

 

Fields inherited from interface java.security.PrivateKey
serialVersionUID

 

Method Summary
 AlgorithmIdentifier getAlgID()
          Returns the algorithm identifier for this key.
 ASN1Object getContents()
          Returns the contents of this key.
 void initialize(AlgorithmIdentifier algID, ASN1Object contents)
          Initializes this instance from the given algorithm paramters and key contents.

 

Methods inherited from interface oracle.security.crypto.core.Key
clone, erase, getAlgorithm, getAllowExport, getBitLength, getEncoded, getFormat

 

Methods inherited from interface java.io.Externalizable
readExternal, writeExternal

 

Methods inherited from interface oracle.security.crypto.util.Streamable
input, length, output

 

Method Detail

initialize

void initialize(AlgorithmIdentifier algID,
                ASN1Object contents)
                throws AlgorithmIdentifierException,
                       InvalidInputException
Initializes this instance from the given algorithm paramters and key contents.
Throws:
AlgorithmIdentifierException
InvalidInputException

getAlgID

AlgorithmIdentifier getAlgID()
Returns the algorithm identifier for this key.

getContents

ASN1Object getContents()
Returns the contents of this key.

Skip navigation links

Oracle Fusion Middleware Crypto Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10668-04


Copyright © 2005, 2011 , Oracle. All rights reserved.