Top Fields Constructors Methods
org.bouncycastle.asn1.crmf

public Class CertReqMsg

extends ASN1Object
Class Inheritance
Imports
java.util.Enumeration, org.bouncycastle.asn1.ASN1Encodable, .ASN1EncodableVector, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence

Field Summary

Modifier and TypeField and Description
private CertRequest
private ProofOfPossession
private ASN1Sequence

Constructor Summary

AccessConstructor and Description
private
public
CertReqMsg(CertRequest
CertRequest
certReq
,
ProofOfPossession
may be null
pop
,
AttributeTypeAndValue[]
may be null
regInfo
)

Creates a new CertReqMsg.

Method Summary

Modifier and TypeMethod and Description
private void
public CertRequest
public static CertReqMsg
public static CertReqMsg
getInstance(ASN1TaggedObject obj, boolean explicit)

public ProofOfPossession
public ProofOfPossession
getPopo()

Deprecated use getPop
public AttributeTypeAndValue[]
public ASN1Primitive

Returns:

a basic ASN.1 object representation.
toASN1Primitive
()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

CertReqMsg ::= SEQUENCE {
                   certReq   CertRequest,
                   popo       ProofOfPossession  OPTIONAL,
                   -- content depends upon key type
                   regInfo   SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValue OPTIONAL }
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

certReqback to summary
private CertRequest certReq
popback to summary
private ProofOfPossession pop
regInfoback to summary
private ASN1Sequence regInfo

Constructor Detail

CertReqMsgback to summary
private CertReqMsg(ASN1Sequence seq)
CertReqMsgback to summary
public CertReqMsg(CertRequest certReq, ProofOfPossession pop, AttributeTypeAndValue[] regInfo)

Creates a new CertReqMsg.

Parameters
certReq:CertRequest

CertRequest

pop:ProofOfPossession

may be null

regInfo:AttributeTypeAndValue[]

may be null

Method Detail

addOptionalback to summary
private void addOptional(ASN1EncodableVector v, ASN1Encodable obj)
getCertReqback to summary
public CertRequest getCertReq()
getInstanceback to summary
public static CertReqMsg getInstance(Object o)
getInstanceback to summary
public static CertReqMsg getInstance(ASN1TaggedObject obj, boolean explicit)
getPopback to summary
public ProofOfPossession getPop()
getPopoback to summary
public ProofOfPossession getPopo()

Deprecated

use getPop

getRegInfoback to summary
public AttributeTypeAndValue[] getRegInfo()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

CertReqMsg ::= SEQUENCE {
                   certReq   CertRequest,
                   popo       ProofOfPossession  OPTIONAL,
                   -- content depends upon key type
                   regInfo   SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValue OPTIONAL }
Returns:ASN1Primitive

a basic ASN.1 object representation.