public class OtherKeyAttribute extends ASN1Object
OtherKeyAttribute ::= SEQUENCE {
keyAttrId OBJECT IDENTIFIER,
keyAttr ANY DEFINED BY keyAttrId OPTIONAL
}
| Modifier and Type | Field and Description |
|---|---|
private ASN1Encodable |
keyAttr |
private ASN1ObjectIdentifier |
keyAttrId |
| Constructor and Description |
|---|
OtherKeyAttribute(ASN1ObjectIdentifier keyAttrId,
ASN1Encodable keyAttr) |
OtherKeyAttribute(ASN1Sequence seq)
Deprecated.
use getInstance()
|
| Modifier and Type | Method and Description |
|---|---|
static OtherKeyAttribute |
getInstance(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, toASN1Objectprivate ASN1ObjectIdentifier keyAttrId
private ASN1Encodable keyAttr
public OtherKeyAttribute(ASN1Sequence seq)
public OtherKeyAttribute(ASN1ObjectIdentifier keyAttrId, ASN1Encodable keyAttr)
public static OtherKeyAttribute getInstance(Object o)
Accepted inputs:
OtherKeyAttribute object
ASN1Sequence input formats with OtherKeyAttribute structure inside
o - the object we want converted.IllegalArgumentException - if the object cannot be converted.public ASN1ObjectIdentifier getKeyAttrId()
public ASN1Encodable getKeyAttr()
public ASN1Primitive toASN1Primitive()
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object