public class OtherRevocationInfoFormat
extends org.bouncycastle.asn1.ASN1Object
OtherRevocationInfoFormat ::= SEQUENCE { otherRevInfoFormat OBJECT IDENTIFIER, otherRevInfo ANY DEFINED BY otherRevInfoFormat }
Constructor and Description |
---|
OtherRevocationInfoFormat(org.bouncycastle.asn1.ASN1ObjectIdentifier otherRevInfoFormat,
org.bouncycastle.asn1.ASN1Encodable otherRevInfo) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.ASN1Encodable |
getInfo() |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getInfoFormat() |
static OtherRevocationInfoFormat |
getInstance(org.bouncycastle.asn1.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.
|
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
public OtherRevocationInfoFormat(org.bouncycastle.asn1.ASN1ObjectIdentifier otherRevInfoFormat, org.bouncycastle.asn1.ASN1Encodable otherRevInfo)
public static OtherRevocationInfoFormat getInstance(org.bouncycastle.asn1.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 org.bouncycastle.asn1.ASN1ObjectIdentifier getInfoFormat()
public org.bouncycastle.asn1.ASN1Encodable getInfo()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object