public class CertRequest
extends java.lang.Object
implements oracle.security.crypto.asn1.ASN1Object
Instances consist of the following elements:
CertReqMsg| Constructor and Description | 
|---|
CertRequest(CertTemplate certTemp, java.math.BigInteger certReqID)
Creates a new  
CertRequest with the specified certificate template and ID number. | 
CertRequest(java.io.InputStream is)
Creates a new  
CertRequest by reading its encoding from the given input stream. | 
| Modifier and Type | Method and Description | 
|---|---|
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  
RegistrationControl to this CertRequest. | 
java.math.BigInteger | 
getCertReqID()
Returns certificate request ID number. 
 | 
CertTemplate | 
getCertTemplate()
Returns the certificate template. 
 | 
AttributeTypeAndValueList | 
getRegControls()
Returns the sequence of registration controls, or  
null if none are defined. | 
void | 
input(java.io.InputStream is)  | 
int | 
length()  | 
void | 
output(java.io.OutputStream os)  | 
java.lang.String | 
toString()  | 
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.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 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