Oracle Security Developer Tools Crypto Java API Reference
10g (10.1.4.0.1)

B28171-01


oracle.security.crypto.core
Interface PublicKey

All Superinterfaces:
ASN1Object, java.lang.Cloneable, Key, Streamable
All Known Implementing Classes:
DHPublicKey, DSAPublicKey, RSAPublicKey

public interface PublicKey
extends Key, ASN1Object

An interface for a public key.


Method Summary
 AlgorithmIdentifier getAlgID()
           
 ASN1Object getContents()
           
 void initialize(AlgorithmIdentifier algID, ASN1Object contents)
           

 

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

 

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

 

Method Detail

initialize

public void initialize(AlgorithmIdentifier algID,
                       ASN1Object contents)
                throws AlgorithmIdentifierException,
                       InvalidInputException
Throws:
AlgorithmIdentifierException
InvalidInputException

getAlgID

public AlgorithmIdentifier getAlgID()

getContents

public ASN1Object getContents()

Oracle Security Developer Tools Crypto Java API Reference
10g (10.1.4.0.1)

B28171-01


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