Top Description Fields Constructors Methods
org.bouncycastle.asn1.cms

public Class OtherRevocationInfoFormat

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

RFC 5652: OtherRevocationInfoFormat object.

OtherRevocationInfoFormat ::= SEQUENCE {
     otherRevInfoFormat OBJECT IDENTIFIER,
     otherRevInfo ANY DEFINED BY otherRevInfoFormat }

Field Summary

Modifier and TypeField and Description
private ASN1Encodable
private ASN1ObjectIdentifier

Constructor Summary

AccessConstructor and Description
public
private

Method Summary

Modifier and TypeMethod and Description
public ASN1Encodable
public ASN1ObjectIdentifier
public static OtherRevocationInfoFormat
getInstance(ASN1TaggedObject
the tagged object holding the object we want.
obj
,
boolean
true if the object is meant to be explicitly tagged false otherwise.
explicit
)

Return a OtherRevocationInfoFormat object from a tagged object.

public static OtherRevocationInfoFormat
getInstance(Object
the object we want converted.
obj
)

Return a OtherRevocationInfoFormat object from the given object.

public ASN1Primitive
toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

otherRevInfoback to summary
private ASN1Encodable otherRevInfo
otherRevInfoFormatback to summary
private ASN1ObjectIdentifier otherRevInfoFormat

Constructor Detail

OtherRevocationInfoFormatback to summary
public OtherRevocationInfoFormat(ASN1ObjectIdentifier otherRevInfoFormat, ASN1Encodable otherRevInfo)
OtherRevocationInfoFormatback to summary
private OtherRevocationInfoFormat(ASN1Sequence seq)

Method Detail

getInfoback to summary
public ASN1Encodable getInfo()
getInfoFormatback to summary
public ASN1ObjectIdentifier getInfoFormat()
getInstanceback to summary
public static OtherRevocationInfoFormat getInstance(ASN1TaggedObject obj, boolean explicit)

Return a OtherRevocationInfoFormat object from a tagged object.

Parameters
obj:ASN1TaggedObject

the tagged object holding the object we want.

explicit:boolean

true if the object is meant to be explicitly tagged false otherwise.

Exceptions
IllegalArgumentException:
if the object held by the tagged object cannot be converted.
getInstanceback to summary
public static OtherRevocationInfoFormat getInstance(Object obj)

Return a OtherRevocationInfoFormat object from the given object.

Accepted inputs:

Parameters
obj:Object

the object we want converted.

Exceptions
IllegalArgumentException:
if the object cannot be converted.
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.

Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.