Bouncy Castle Cryptography 1.46

org.bouncycastle.asn1.crmf
Class CertReqMsg

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Encodable
      extended by org.bouncycastle.asn1.crmf.CertReqMsg
All Implemented Interfaces:
DEREncodable

public class CertReqMsg
extends ASN1Encodable


Field Summary
 
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
CertReqMsg(CertRequest certReq, ProofOfPossession popo, AttributeTypeAndValue[] regInfo)
          Creates a new CertReqMsg.
 
Method Summary
 CertRequest getCertReq()
           
static CertReqMsg getInstance(java.lang.Object o)
           
 ProofOfPossession getPop()
          Deprecated. use getPopo
 ProofOfPossession getPopo()
           
 AttributeTypeAndValue[] getRegInfo()
           
 DERObject toASN1Object()
           CertReqMsg ::= SEQUENCE { certReq CertRequest, pop ProofOfPossession OPTIONAL, -- content depends upon key type regInfo SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValue OPTIONAL }
 
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertReqMsg

public CertReqMsg(CertRequest certReq,
                  ProofOfPossession popo,
                  AttributeTypeAndValue[] regInfo)
Creates a new CertReqMsg.

Parameters:
certReq - CertRequest
popo - may be null
regInfo - may be null
Method Detail

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.

Bouncy Castle Cryptography 1.46