Package org.bouncycastle.asn1.crmf
Class CertReqMsg
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.crmf.CertReqMsg
- All Implemented Interfaces:
ASN1Encodable
,Encodable
-
Constructor Summary
ConstructorsConstructorDescriptionCertReqMsg
(CertRequest certReq, ProofOfPossession pop, AttributeTypeAndValue[] regInfo) Creates a new CertReqMsg. -
Method Summary
Modifier and TypeMethodDescriptionstatic CertReqMsg
static CertReqMsg
getInstance
(ASN1TaggedObject obj, boolean explicit) getPopo()
CertReqMsg ::= SEQUENCE { certReq CertRequest, popo ProofOfPossession OPTIONAL, -- content depends upon key type regInfo SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValue OPTIONAL }Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
CertReqMsg
Creates a new CertReqMsg.- Parameters:
certReq
- CertRequestpop
- may be nullregInfo
- may be null
-
-
Method Details
-
getInstance
-
getInstance
-
getCertReq
-
getPopo
-
getRegInfo
-
toASN1Primitive
CertReqMsg ::= SEQUENCE { certReq CertRequest, popo ProofOfPossession OPTIONAL, -- content depends upon key type regInfo SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValue OPTIONAL }
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a basic ASN.1 object representation.
-