public class

OtherKeyAttribute

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.cms.OtherKeyAttribute

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
OtherKeyAttribute(ASN1Sequence seq)
OtherKeyAttribute(DERObjectIdentifier keyAttrId, DEREncodable keyAttr)
Public Methods
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.
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public OtherKeyAttribute (ASN1Sequence seq)

public OtherKeyAttribute (DERObjectIdentifier keyAttrId, DEREncodable keyAttr)

Public Methods

public static OtherKeyAttribute getInstance (Object o)

return an OtherKeyAttribute object from the given object.

Parameters
o the object we want converted.
Throws
IllegalArgumentException if the object cannot be converted.

public DEREncodable getKeyAttr ()

public DERObjectIdentifier getKeyAttrId ()

public DERObject toASN1Object ()

Produce an object suitable for an ASN1OutputStream.

 OtherKeyAttribute ::= SEQUENCE {
     keyAttrId OBJECT IDENTIFIER,
     keyAttr ANY DEFINED BY keyAttrId OPTIONAL
 }