public class OtherKeyAttribute extends ASN1Object
OtherKeyAttribute ::= SEQUENCE { keyAttrId OBJECT IDENTIFIER, keyAttr ANY DEFINED BY keyAttrId OPTIONAL }
Constructor and Description |
---|
OtherKeyAttribute(ASN1ObjectIdentifier keyAttrId,
ASN1Encodable keyAttr) |
Modifier and Type | Method and Description |
---|---|
static OtherKeyAttribute |
getInstance(java.lang.Object o)
Return an OtherKeyAttribute object from the given object.
|
ASN1Encodable |
getKeyAttr() |
ASN1ObjectIdentifier |
getKeyAttrId() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public OtherKeyAttribute(ASN1ObjectIdentifier keyAttrId, ASN1Encodable keyAttr)
public static OtherKeyAttribute getInstance(java.lang.Object o)
Accepted inputs:
OtherKeyAttribute
object
ASN1Sequence
input formats with OtherKeyAttribute structure inside
o
- the object we want converted.java.lang.IllegalArgumentException
- if the object cannot be converted.public ASN1ObjectIdentifier getKeyAttrId()
public ASN1Encodable getKeyAttr()
public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object