|
Oracle Security Developer Tools PKI SDK CMP Java API Reference 11g (11.1.1) E10666-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
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 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. |
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 RegistrationControl to this CertRequest . |
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 null if 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.Streamable
java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
output
in interface oracle.security.crypto.util.Streamable
java.io.IOException
public int length()
length
in interface oracle.security.crypto.util.Streamable
|
Oracle Security Developer Tools PKI SDK CMP Java API Reference 11g (11.1.1) E10666-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |