public class OtherKeyAttribute extends ASN1Encodable
BER, DER
Constructor and Description |
---|
OtherKeyAttribute(ASN1Sequence seq) |
OtherKeyAttribute(DERObjectIdentifier keyAttrId,
DEREncodable keyAttr) |
Modifier and Type | Method and Description |
---|---|
static OtherKeyAttribute |
getInstance(Object o)
return an OtherKeyAttribute object from the given object.
|
DEREncodable |
getKeyAttr() |
DERObjectIdentifier |
getKeyAttrId() |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public OtherKeyAttribute(ASN1Sequence seq)
public OtherKeyAttribute(DERObjectIdentifier keyAttrId, DEREncodable keyAttr)
public static OtherKeyAttribute getInstance(Object o)
o
- the object we want converted.IllegalArgumentException
- if the object cannot be converted.public DERObjectIdentifier getKeyAttrId()
public DEREncodable getKeyAttr()
public DERObject toASN1Object()
OtherKeyAttribute ::= SEQUENCE { keyAttrId OBJECT IDENTIFIER, keyAttr ANY DEFINED BY keyAttrId OPTIONAL }
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.