oracle.security.crypto.cmp
Class CertAnnouncement
java.lang.Object
oracle.security.crypto.cmp.PKIMessageBody
oracle.security.crypto.cmp.CertAnnouncement
- public class CertAnnouncement
- extends PKIMessageBody
PKI message body of type Certificate Announcement. Intended for use in cases where there is no pre-existing method for publication of a certificate.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CertAnnouncement
public CertAnnouncement()
- Create an empty
CertAnnouncement.
CertAnnouncement
public CertAnnouncement(oracle.security.crypto.cert.X509 cert)
- Create a
CertAnnouncement with the given certificate.
CertAnnouncement
public CertAnnouncement(java.io.InputStream is)
throws java.io.IOException
getCertificate
public oracle.security.crypto.cert.X509 getCertificate()
- Return the certificate being published.
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
Copyright © 2005 , Oracle. All rights reserved.