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 PublicKey

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

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

An interface for a public key.


Field Summary

 

Fields inherited from interface java.security.PublicKey
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.