Class CertificationRequest
java.lang.Object
org.apache.harmony.security.pkcs10.CertificationRequest
public final class CertificationRequest extends Object
The class implements the ASN.1 DER encoding and decoding of the PKCS#10
Certificate Signing Request (CSR). Its ASN notation is as follows:
CertificationRequest ::= SEQUENCE {
certificationRequestInfo CertificationRequestInfo,
signatureAlgorithm SignatureAlgorithmIdentifier,
signature Signature
}
SignatureAlgorithmIdentifier ::= AlgorithmIdentifier
Signature ::= BIT STRING
-
Field Summary
Fields Modifier and Type Field Description static ASN1SequenceASN1 -
Constructor Summary
Constructors Constructor Description CertificationRequest(CertificationRequestInfo info, AlgorithmIdentifier algId, byte[] signature) -
Method Summary
Modifier and Type Method Description byte[]getEncoded()Returns ASN.1 encoded form of this CertificationRequest value.CertificationRequestInfogetInfo()byte[]getSignature()
-
Field Details
-
ASN1
-
-
Constructor Details
-
CertificationRequest
public CertificationRequest(CertificationRequestInfo info, AlgorithmIdentifier algId, byte[] signature)
-
-
Method Details
-
getInfo
-
getSignature
public byte[] getSignature() -
getEncoded
public byte[] getEncoded()Returns ASN.1 encoded form of this CertificationRequest value.- Returns:
- a byte array containing ASN.1 encode form.
-