kz.gamma.hardware.asn1.cms
Class Attribute
java.lang.Object
kz.gamma.hardware.asn1.ASN1Encodable
kz.gamma.hardware.asn1.cms.Attribute
- All Implemented Interfaces:
- DEREncodable
public class Attribute
- extends ASN1Encodable
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
attrType
private DERObjectIdentifier attrType
attrValues
private ASN1Set attrValues
Attribute
public Attribute(ASN1Sequence seq)
- Parameters:
seq -
Attribute
public Attribute(DERObjectIdentifier attrType,
ASN1Set attrValues)
- Parameters:
attrType - attrValues -
getInstance
public static Attribute getInstance(java.lang.Object o)
- return an Attribute object from the given object.
- Parameters:
o - the object we want converted.
- Returns:
-
- Throws:
java.lang.IllegalArgumentException - if the object cannot be converted.
getAttrType
public DERObjectIdentifier getAttrType()
- Returns:
getAttrValues
public ASN1Set getAttrValues()
- Returns:
toASN1Object
public DERObject toASN1Object()
- Produce an object suitable for an ASN1OutputStream.
Attribute ::= SEQUENCE {
attrType OBJECT IDENTIFIER,
attrValues SET OF AttributeValue
}
- Specified by:
toASN1Object in class ASN1Encodable
- Returns:
Copyright © 2013 Gamma Technologies. All Rights Reserved.