Package org.bouncycastle.asn1.crmf
Class CertReqMsg
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.crmf.CertReqMsg
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class CertReqMsg
extends org.bouncycastle.asn1.ASN1Object
-
Constructor Summary
ConstructorDescriptionCertReqMsg
(CertRequest certReq, ProofOfPossession pop, AttributeTypeAndValue[] regInfo) Creates a new CertReqMsg. -
Method Summary
Modifier and TypeMethodDescriptionstatic CertReqMsg
static CertReqMsg
getInstance
(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit) getPop()
getPopo()
Deprecated.use getPoporg.bouncycastle.asn1.ASN1Primitive
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
encodeTo, encodeTo, 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
-
getPop
-
getPopo
Deprecated.use getPop -
getRegInfo
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive 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 interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
- Returns:
- a basic ASN.1 object representation.
-