|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cms.OtherKeyAttribute
public class OtherKeyAttribute
RFC 5652: OtherKeyAttribute object.
OtherKeyAttribute ::= SEQUENCE {
keyAttrId OBJECT IDENTIFIER,
keyAttr ANY DEFINED BY keyAttrId OPTIONAL
}
| Constructor Summary | |
|---|---|
OtherKeyAttribute(ASN1ObjectIdentifier keyAttrId,
ASN1Encodable keyAttr)
|
|
OtherKeyAttribute(ASN1Sequence seq)
Deprecated. use getInstance() |
|
| Method Summary | |
|---|---|
static OtherKeyAttribute |
getInstance(java.lang.Object o)
Return an OtherKeyAttribute object from the given object. |
ASN1Encodable |
getKeyAttr()
|
ASN1ObjectIdentifier |
getKeyAttrId()
|
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. |
| Methods inherited from class org.bouncycastle.asn1.ASN1Object |
|---|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OtherKeyAttribute(ASN1Sequence seq)
public OtherKeyAttribute(ASN1ObjectIdentifier keyAttrId,
ASN1Encodable keyAttr)
| Method Detail |
|---|
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 ASN1ObjectIdentifier getKeyAttrId()
public ASN1Encodable getKeyAttr()
public ASN1Primitive toASN1Primitive()
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object
|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||