| 
 | 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.CertRequest
oracle.security.crypto.cmp.CertRequest
public class CertRequest
CRMF request for a single certificate.
Instances consist of the following elements:
CertReqMsg| Constructor Summary | |
|---|---|
| CertRequest(CertTemplate certTemp, java.math.BigInteger certReqID)Creates a new CertRequestwith the specified certificate template and ID number. | |
| CertRequest(java.io.InputStream is)Creates a new CertRequestby reading its encoding from the given input stream. | |
| Method Summary | |
|---|---|
|  void | addRegControl(oracle.security.crypto.asn1.ASN1ObjectID type, oracle.security.crypto.asn1.ASN1Object value)Adds the specified type-and-value pair to the registration controls. | 
|  void | addRegControl(RegistrationControl rc)Adds the given RegistrationControlto thisCertRequest. | 
|  java.math.BigInteger | getCertReqID()Returns certificate request ID number. | 
|  CertTemplate | getCertTemplate()Returns the certificate template. | 
|  oracle.security.crypto.cert.AttributeTypeAndValueList | getRegControls()Returns the sequence of registration controls, or nullif none are defined. | 
|  void | input(java.io.InputStream is) | 
|  int | length() | 
|  void | output(java.io.OutputStream os) | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public CertRequest(CertTemplate certTemp,
                   java.math.BigInteger certReqID)
CertRequest with the specified certificate template and ID number.
public CertRequest(java.io.InputStream is)
            throws java.io.IOException
CertRequest by reading its encoding from the given input stream.
is - the input stream.java.io.IOException - if an I/O error occurs during input, or the encoding does not have the correct format.| Method Detail | 
|---|
public java.math.BigInteger getCertReqID()
public CertTemplate getCertTemplate()
public void addRegControl(RegistrationControl rc)
RegistrationControl to this CertRequest.
public void addRegControl(oracle.security.crypto.asn1.ASN1ObjectID type,
                          oracle.security.crypto.asn1.ASN1Object value)
type - the type OIDvalue - the value.public oracle.security.crypto.cert.AttributeTypeAndValueList getRegControls()
null if none are defined.public java.lang.String toString()
toString in class java.lang.Object
public void input(java.io.InputStream is)
           throws java.io.IOException
input in interface oracle.security.crypto.util.Streamablejava.io.IOException
public void output(java.io.OutputStream os)
            throws java.io.IOException
output in interface oracle.security.crypto.util.Streamablejava.io.IOExceptionpublic int length()
length in interface oracle.security.crypto.util.Streamable| 
 | 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 | ||||||||