org.bouncycastle.asn1.crmf
Class CertReqMsg
java.lang.Object
org.bouncycastle.asn1.ASN1Encodable
org.bouncycastle.asn1.crmf.CertReqMsg
- All Implemented Interfaces:
- DEREncodable
public class CertReqMsg
- extends ASN1Encodable
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CertReqMsg
public CertReqMsg(CertRequest certReq,
ProofOfPossession popo,
AttributeTypeAndValue[] regInfo)
- Creates a new CertReqMsg.
- Parameters:
certReq
- CertRequestpopo
- may be nullregInfo
- may be null
getInstance
public static CertReqMsg getInstance(java.lang.Object o)
getCertReq
public CertRequest getCertReq()
getPop
public ProofOfPossession getPop()
- Deprecated. use getPopo
getPopo
public ProofOfPossession getPopo()
getRegInfo
public AttributeTypeAndValue[] getRegInfo()
toASN1Object
public DERObject toASN1Object()
CertReqMsg ::= SEQUENCE {
certReq CertRequest,
pop ProofOfPossession OPTIONAL,
-- content depends upon key type
regInfo SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValue OPTIONAL }
- Specified by:
toASN1Object
in class ASN1Encodable
- Returns:
- a basic ASN.1 object representation.