public class CertReqMsg extends ASN1Object
Constructor and Description |
---|
CertReqMsg(CertRequest certReq,
ProofOfPossession pop,
AttributeTypeAndValue[] regInfo)
Creates a new CertReqMsg.
|
Modifier and Type | Method and Description |
---|---|
CertRequest |
getCertReq() |
static CertReqMsg |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static CertReqMsg |
getInstance(java.lang.Object o) |
ProofOfPossession |
getPop()
Deprecated.
use getPopo
|
ProofOfPossession |
getPopo() |
AttributeTypeAndValue[] |
getRegInfo() |
ASN1Primitive |
toASN1Primitive()
CertReqMsg ::= SEQUENCE {
certReq CertRequest,
popo ProofOfPossession OPTIONAL,
-- content depends upon key type
regInfo SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValue OPTIONAL }
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public CertReqMsg(CertRequest certReq, ProofOfPossession pop, AttributeTypeAndValue[] regInfo)
certReq
- CertRequestpop
- may be nullregInfo
- may be nullpublic static CertReqMsg getInstance(java.lang.Object o)
public static CertReqMsg getInstance(ASN1TaggedObject obj, boolean explicit)
public CertRequest getCertReq()
public ProofOfPossession getPop()
public ProofOfPossession getPopo()
public AttributeTypeAndValue[] getRegInfo()
public ASN1Primitive toASN1Primitive()
CertReqMsg ::= SEQUENCE { certReq CertRequest, popo ProofOfPossession OPTIONAL, -- content depends upon key type regInfo SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValue OPTIONAL }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object