Top Fields Constructors Methods
org.bouncycastle.asn1.cmp

public Class PollReqContent

extends ASN1Object
Class Inheritance
Imports
java.math.BigInteger, org.bouncycastle.asn1.ASN1Integer, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .DERSequence

Field Summary

Modifier and TypeField and Description
private ASN1Sequence

Constructor Summary

AccessConstructor and Description
private
public
PollReqContent(ASN1Integer
the certificate request ID.
certReqId
)

Create a pollReqContent for a single certReqId.

public
PollReqContent(ASN1Integer[]
the certificate request IDs.
certReqIds
)

Create a pollReqContent for a multiple certReqIds.

public
PollReqContent(BigInteger
the certificate request ID.
certReqId
)

Create a pollReqContent for a single certReqId.

public
PollReqContent(BigInteger[]
the certificate request IDs.
certReqIds
)

Create a pollReqContent for a multiple certReqIds.

Method Summary

Modifier and TypeMethod and Description
public ASN1Integer[][]
public BigInteger[]
public static PollReqContent
private static ASN1Integer[]
private static DERSequence[]
private static ASN1Integer[]
public ASN1Primitive

Returns:

a basic ASN.1 object representation.
toASN1Primitive
()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

PollReqContent ::= SEQUENCE OF SEQUENCE {
                       certReqId              INTEGER
}
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

contentback to summary
private ASN1Sequence content

Constructor Detail

PollReqContentback to summary
private PollReqContent(ASN1Sequence seq)
PollReqContentback to summary
public PollReqContent(ASN1Integer certReqId)

Create a pollReqContent for a single certReqId.

Parameters
certReqId:ASN1Integer

the certificate request ID.

PollReqContentback to summary
public PollReqContent(ASN1Integer[] certReqIds)

Create a pollReqContent for a multiple certReqIds.

Parameters
certReqIds:ASN1Integer[]

the certificate request IDs.

PollReqContentback to summary
public PollReqContent(BigInteger certReqId)

Create a pollReqContent for a single certReqId.

Parameters
certReqId:BigInteger

the certificate request ID.

PollReqContentback to summary
public PollReqContent(BigInteger[] certReqIds)

Create a pollReqContent for a multiple certReqIds.

Parameters
certReqIds:BigInteger[]

the certificate request IDs.

Method Detail

getCertReqIdsback to summary
public ASN1Integer[][] getCertReqIds()
getCertReqIdValuesback to summary
public BigInteger[] getCertReqIdValues()
getInstanceback to summary
public static PollReqContent getInstance(Object o)
intsToASN1back to summary
private static ASN1Integer[] intsToASN1(BigInteger[] ids)
intsToSequenceback to summary
private static DERSequence[] intsToSequence(ASN1Integer[] ids)
sequenceToASN1IntegerArrayback to summary
private static ASN1Integer[] sequenceToASN1IntegerArray(ASN1Sequence seq)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

PollReqContent ::= SEQUENCE OF SEQUENCE {
                       certReqId              INTEGER
}
Returns:ASN1Primitive

a basic ASN.1 object representation.