org.bouncycastle.asn1.crmf

Class CertReqMsg

Implemented Interfaces:
DEREncodable

public class CertReqMsg
extends ASN1Encodable

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Method Summary

CertRequest
getCertReq()
static CertReqMsg
getInstance(Object o)
ProofOfPossession
getPop()
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, toASN1Object

Method Details

getCertReq

public CertRequest getCertReq()

getInstance

public static CertReqMsg getInstance(Object o)

getPop

public ProofOfPossession getPop()

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 }
 
Overrides:
toASN1Object in interface ASN1Encodable
Returns:
a basic ASN.1 object representation.