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(Object o)
Return an OtherKeyAttribute object from the given object.
|
ASN1Encodable |
getKeyAttr() |
ASN1ObjectIdentifier |
getKeyAttrId() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
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 ASN1Encodable
toASN1Primitive
in class ASN1Object
Copyright © 2021 BouncyCastle.org. All rights reserved.