public class OtherRevocationInfoFormat extends ASN1Object
OtherRevocationInfoFormat ::= SEQUENCE {
otherRevInfoFormat OBJECT IDENTIFIER,
otherRevInfo ANY DEFINED BY otherRevInfoFormat }
| Constructor and Description |
|---|
OtherRevocationInfoFormat(ASN1ObjectIdentifier otherRevInfoFormat,
ASN1Encodable otherRevInfo) |
| 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(java.lang.Object obj)
Return a OtherRevocationInfoFormat object from the given object.
|
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic OtherRevocationInfoFormat(ASN1ObjectIdentifier otherRevInfoFormat, ASN1Encodable otherRevInfo)
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.java.lang.IllegalArgumentException - if the object held by the
tagged object cannot be converted.public static OtherRevocationInfoFormat getInstance(java.lang.Object obj)
Accepted inputs:
OtherRevocationInfoFormat object
ASN1Sequence input formats with OtherRevocationInfoFormat structure inside
obj - the object we want converted.java.lang.IllegalArgumentException - if the object cannot be converted.public ASN1ObjectIdentifier getInfoFormat()
public ASN1Encodable getInfo()
public ASN1Primitive toASN1Primitive()
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object