public class OtherRevocationInfoFormat extends ASN1Object
OtherRevocationInfoFormat ::= SEQUENCE { otherRevInfoFormat OBJECT IDENTIFIER, otherRevInfo ANY DEFINED BY otherRevInfoFormat }
Modifier and Type | Field and Description |
---|---|
private ASN1Encodable |
otherRevInfo |
private ASN1ObjectIdentifier |
otherRevInfoFormat |
Modifier | Constructor and Description |
---|---|
|
OtherRevocationInfoFormat(ASN1ObjectIdentifier otherRevInfoFormat,
ASN1Encodable otherRevInfo) |
private |
OtherRevocationInfoFormat(ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
ASN1Encodable |
getInfo() |
ASN1ObjectIdentifier |
getInfoFormat() |
static OtherRevocationInfoFormat |
getInstance(ASN1TaggedObject obj,
boolean explicit)
Return a OtherRevocationInfoFormat object from a tagged object.
|
static OtherRevocationInfoFormat |
getInstance(Object obj)
Return a OtherRevocationInfoFormat object from the given object.
|
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
private ASN1ObjectIdentifier otherRevInfoFormat
private ASN1Encodable otherRevInfo
public OtherRevocationInfoFormat(ASN1ObjectIdentifier otherRevInfoFormat, ASN1Encodable otherRevInfo)
private OtherRevocationInfoFormat(ASN1Sequence seq)
public static OtherRevocationInfoFormat getInstance(ASN1TaggedObject obj, boolean explicit)
obj
- the tagged object holding the object we want.explicit
- true if the object is meant to be explicitly
tagged false otherwise.IllegalArgumentException
- if the object held by the
tagged object cannot be converted.public static OtherRevocationInfoFormat getInstance(Object obj)
Accepted inputs:
OtherRevocationInfoFormat
object
ASN1Sequence
input formats with OtherRevocationInfoFormat structure inside
obj
- the object we want converted.IllegalArgumentException
- if the object cannot be converted.public ASN1ObjectIdentifier getInfoFormat()
public ASN1Encodable getInfo()
public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object