public class OtherRevInfo
extends java.lang.Object
implements iaik.asn1.ASN1Type
OtherRevInfo ::= SEQUENCE { Type OBJECT IDENTIFIER Value OCTET STRING }
Constructor and Description |
---|
OtherRevInfo(iaik.asn1.ASN1Object asn1Object) |
OtherRevInfo(iaik.asn1.ObjectID objectID,
byte[] encodedRevInfo) |
Modifier and Type | Method and Description |
---|---|
void |
decode(iaik.asn1.ASN1Object obj)
Decodes the given ASN.1 OtherRevInfo object
|
byte[] |
getEncodedValue() |
iaik.asn1.ObjectID |
getObjectID() |
iaik.asn1.ASN1Object |
toASN1Object() |
java.lang.String |
toString()
Returns a string giving some information about this
OtherRevInfo object. |
public OtherRevInfo(iaik.asn1.ObjectID objectID, byte[] encodedRevInfo)
objectID
- objectID of revocation typeencodedRevInfo
- encoded revocation informationpublic OtherRevInfo(iaik.asn1.ASN1Object asn1Object) throws java.io.IOException
asn1Object
- revocation information as ASN1 encodingjava.io.IOException
- if ASN1 object can't be readpublic iaik.asn1.ASN1Object toASN1Object()
toASN1Object
in interface iaik.asn1.ASN1Type
public java.lang.String toString()
OtherRevInfo
object.toString
in class java.lang.Object
public iaik.asn1.ObjectID getObjectID()
public byte[] getEncodedValue()
public void decode(iaik.asn1.ASN1Object obj) throws iaik.asn1.CodingException
decode
in interface iaik.asn1.ASN1Type
obj
- the OtherRevInfo as ASN1Objectiaik.asn1.CodingException
- if the ASN1Object could not be parsed