public class OtherKeyAttribute
extends org.bouncycastle.asn1.ASN1Object
OtherKeyAttribute ::= SEQUENCE {
keyAttrId OBJECT IDENTIFIER,
keyAttr ANY DEFINED BY keyAttrId OPTIONAL
}
| Constructor and Description |
|---|
OtherKeyAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier keyAttrId,
org.bouncycastle.asn1.ASN1Encodable keyAttr) |
| Modifier and Type | Method and Description |
|---|---|
static OtherKeyAttribute |
getInstance(java.lang.Object o)
Return an OtherKeyAttribute object from the given object.
|
org.bouncycastle.asn1.ASN1Encodable |
getKeyAttr() |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getKeyAttrId() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
public OtherKeyAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier keyAttrId,
org.bouncycastle.asn1.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 org.bouncycastle.asn1.ASN1ObjectIdentifier getKeyAttrId()
public org.bouncycastle.asn1.ASN1Encodable getKeyAttr()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive in interface org.bouncycastle.asn1.ASN1EncodabletoASN1Primitive in class org.bouncycastle.asn1.ASN1Object