Oracle Security Developer Tools PKI SDK CMP Java API Reference
10g (10.1.4.0.1)

B28166-01


oracle.security.crypto.cmp
Class CAKeyUpdateAnn

java.lang.Object
  extended byoracle.security.crypto.cmp.PKIMessageBody
      extended byoracle.security.crypto.cmp.CAKeyUpdateAnn

All Implemented Interfaces:
oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable

public class CAKeyUpdateAnn
extends PKIMessageBody

PKI message body of type CA Key Update Announcement, used when a certificate authority updates its own key pair.


Nested Class Summary

 

Nested classes inherited from class oracle.security.crypto.cmp.PKIMessageBody
PKIMessageBody.Type

 

Constructor Summary
CAKeyUpdateAnn()
          Create a new, empty CAKeyUpdateAnn.
CAKeyUpdateAnn(java.io.InputStream is)
           
CAKeyUpdateAnn(oracle.security.crypto.cert.X509 oldWithNew, oracle.security.crypto.cert.X509 newWithOld, oracle.security.crypto.cert.X509 newWithNew)
          Create a CAKeyUpdateAnn with the specified certificates.

 

Method Summary
 oracle.security.crypto.cert.X509 getNewWithNew()
          Returns the certificate of the new public key signed with the new private key.
 oracle.security.crypto.cert.X509 getNewWithOld()
          Returns the certificate of the new public key signed with the old private key.
 oracle.security.crypto.cert.X509 getOldWithNew()
          Returns the certificate of the old public key signed with the new private key.
 PKIMessageBody.Type getType()
          Returns one of the values defined in PKIMessageBody.Type.
 void input(java.io.InputStream is)
          Initializes this object by reading its encoding from the given input stream.
 java.lang.String toString()
           

 

Methods inherited from class oracle.security.crypto.cmp.PKIMessageBody
inputInstance, length, output

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

CAKeyUpdateAnn

public CAKeyUpdateAnn()
Create a new, empty CAKeyUpdateAnn. Use the input(java.io.InputStream) methods to complete the object's contents.

CAKeyUpdateAnn

public CAKeyUpdateAnn(oracle.security.crypto.cert.X509 oldWithNew,
                      oracle.security.crypto.cert.X509 newWithOld,
                      oracle.security.crypto.cert.X509 newWithNew)
Create a CAKeyUpdateAnn with the specified certificates.
Parameters:
oldWithNew - the old public key signed with the new private key.
newWithOld - the new public key signed with the old private key.
newWithNew - the new public key signed with the new private key.

CAKeyUpdateAnn

public CAKeyUpdateAnn(java.io.InputStream is)
               throws java.io.IOException

Method Detail

getOldWithNew

public oracle.security.crypto.cert.X509 getOldWithNew()
Returns the certificate of the old public key signed with the new private key.

getNewWithOld

public oracle.security.crypto.cert.X509 getNewWithOld()
Returns the certificate of the new public key signed with the old private key.

getNewWithNew

public oracle.security.crypto.cert.X509 getNewWithNew()
Returns the certificate of the new public key signed with the new private key.

getType

public PKIMessageBody.Type getType()
Description copied from class: PKIMessageBody
Returns one of the values defined in PKIMessageBody.Type.
Specified by:
getType in class PKIMessageBody

toString

public java.lang.String toString()

input

public void input(java.io.InputStream is)
           throws java.io.IOException
Initializes this object by reading its encoding from the given input stream.
Throws:
java.io.IOException

Oracle Security Developer Tools PKI SDK CMP Java API Reference
10g (10.1.4.0.1)

B28166-01


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