oracle.security.crypto.cmp
Class PKCS10CertReq
java.lang.Object
oracle.security.crypto.cmp.PKIMessageBody
oracle.security.crypto.cmp.PKCS10CertReq
- public class PKCS10CertReq
- extends PKIMessageBody
PKI message body of type PKCS #10 Certification Request.
| Constructor Summary |
PKCS10CertReq()
Create a new, empty PKCS10CertReq. |
PKCS10CertReq(oracle.security.crypto.cert.CertificateRequest certReq)
Create a new PKCS10CertReq message body with the specified PKCS #10 certificate request. |
PKCS10CertReq(java.io.InputStream is)
|
| Method Summary |
oracle.security.crypto.cert.CertificateRequest |
getCertRequest()
Return the PKCS #10 certificate request for this message body. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PKCS10CertReq
public PKCS10CertReq()
- Create a new, empty
PKCS10CertReq. Use the input(java.io.InputStream) method to complete the object's contents.
PKCS10CertReq
public PKCS10CertReq(oracle.security.crypto.cert.CertificateRequest certReq)
- Create a new
PKCS10CertReq message body with the specified PKCS #10 certificate request.
PKCS10CertReq
public PKCS10CertReq(java.io.InputStream is)
throws java.io.IOException
getCertRequest
public oracle.security.crypto.cert.CertificateRequest getCertRequest()
- Return the PKCS #10 certificate request for this message body.
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.