public class OtherKeyAttribute extends ASN1Encodable
| Modifier and Type | Field and Description |
|---|---|
private DEREncodable |
keyAttr |
private DERObjectIdentifier |
keyAttrId |
BER, DER| Constructor and Description |
|---|
OtherKeyAttribute(ASN1Sequence seq) |
OtherKeyAttribute(DERObjectIdentifier keyAttrId,
DEREncodable keyAttr) |
| Modifier and Type | Method and Description |
|---|---|
static OtherKeyAttribute |
getInstance(java.lang.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, hashCodeprivate DERObjectIdentifier keyAttrId
private DEREncodable keyAttr
public OtherKeyAttribute(ASN1Sequence seq)
public OtherKeyAttribute(DERObjectIdentifier keyAttrId, DEREncodable keyAttr)
public static OtherKeyAttribute getInstance(java.lang.Object o)
o - the object we want converted.java.lang.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 ASN1EncodableCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.