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
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CertReqMsg
public CertReqMsg(CertRequest certReq,
ProofOfPossession pop,
AttributeTypeAndValue[] regInfo)
- Creates a new CertReqMsg.
- Parameters:
certReq
- CertRequestpop
- may be nullregInfo
- may be null
getInstance
public static CertReqMsg getInstance(java.lang.Object o)
getInstance
public static CertReqMsg getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj,
boolean explicit)
getCertReq
public CertRequest getCertReq()
getPop
public ProofOfPossession getPop()
getPopo
public ProofOfPossession getPopo()
- Deprecated. use getPop
getRegInfo
public AttributeTypeAndValue[] 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 }
- Returns:
- a basic ASN.1 object representation.