Skip navigation links 
 
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.
 
 
| Fields inherited from interface java.security.PublicKey | 
| serialVersionUID | 
  
 
 
 
| Methods inherited from interface java.io.Externalizable | 
| readExternal, writeExternal | 
 
 
 
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 
 
Copyright © 2005, 2011 , Oracle. All rights reserved.