| 
 | Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-03 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
   oracle.security.crypto.cmp.PKIMessageBody
oracle.security.crypto.cmp.PKIMessageBody
       oracle.security.crypto.cmp.CAKeyUpdateAnn
oracle.security.crypto.cmp.CAKeyUpdateAnn
public class CAKeyUpdateAnn
PKI message body of type CA Key Update Announcement, used when a certificate authority updates its own key pair.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class oracle.security.crypto.cmp.PKIMessageBody | 
|---|
| PKIMessageBody.Type | 
| Constructor Summary | |
|---|---|
| CAKeyUpdateAnn()Create a new, empty CAKeyUpdateAnn. | |
| CAKeyUpdateAnn(java.io.InputStream is) | |
| CAKeyUpdateAnn(java.security.cert.X509Certificate oldWithNew, java.security.cert.X509Certificate newWithOld, java.security.cert.X509Certificate newWithNew)Create a CAKeyUpdateAnnwith the specified certificates. | |
| Method Summary | |
|---|---|
|  java.security.cert.X509Certificate | getNewWithNew()Returns the certificate of the new public key signed with the new private key. | 
|  java.security.cert.X509Certificate | getNewWithOld()Returns the certificate of the new public key signed with the old private key. | 
|  java.security.cert.X509Certificate | 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 | 
|---|
public CAKeyUpdateAnn()
CAKeyUpdateAnn. Use the input(java.io.InputStream) methods to complete the object's contents.
public CAKeyUpdateAnn(java.security.cert.X509Certificate oldWithNew,
                      java.security.cert.X509Certificate newWithOld,
                      java.security.cert.X509Certificate newWithNew)
               throws java.security.cert.CertificateEncodingException
CAKeyUpdateAnn with the specified certificates.
Note the changes in the method signature
Previously public CAKeyUpdateAnn (X509, X509, X509)
Now public CAKeyUpdateAnn (X509Certificate , X509Certificate , X509Certificate )
Note : CertificateEncodingException is introduced
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.java.security.cert.CertificateEncodingException
public CAKeyUpdateAnn(java.io.InputStream is)
               throws java.io.IOException
java.io.IOException| Method Detail | 
|---|
public java.security.cert.X509Certificate getOldWithNew()
public java.security.cert.X509Certificate getNewWithOld()
public java.security.cert.X509Certificate getNewWithNew()
public PKIMessageBody.Type getType()
PKIMessageBodyPKIMessageBody.Type.getType in class PKIMessageBodypublic java.lang.String toString()
toString in class java.lang.Object
public void input(java.io.InputStream is)
           throws java.io.IOException
java.io.IOException| 
 | Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-03 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||