public class EncodedAttributeValue
extends iaik.asn1.structures.AttributeValue
| Modifier and Type | Method and Description |
|---|---|
void |
decode(iaik.asn1.ASN1Object obj)
Decodes the given ASN.1 AttributeValue.
|
iaik.asn1.ObjectID |
getAttributeType()
Returns the attribute type OID identifying the type to which this Attribute Value belongs.
|
byte[] |
getEncoded()
Gets the encoded AttributeValue.
|
iaik.asn1.structures.AttributeValue |
getValue()
Gets the AttributeValue.
|
iaik.asn1.ASN1Object |
toASN1Object()
Returns this AttributeValue as ASN1Object.
|
java.lang.String |
toString()
Returns a String representation of the AttributeValue.
|
public iaik.asn1.ObjectID getAttributeType()
getAttributeType in class iaik.asn1.structures.AttributeValuepublic void decode(iaik.asn1.ASN1Object obj)
throws iaik.asn1.CodingException
obj - the AttributeValue as ASN1Objectiaik.asn1.CodingException - if the ASN1Object could not be parsedpublic iaik.asn1.ASN1Object toASN1Object()
throws iaik.asn1.CodingException
iaik.asn1.CodingException - if the ASN1Object cannot be builtpublic iaik.asn1.structures.AttributeValue getValue()
throws iaik.asn1.CodingException
iaik.asn1.CodingException - if an error occurs when parsing the (yet not parsed) attribute valuepublic byte[] getEncoded()
throws iaik.asn1.CodingException
iaik.asn1.CodingException - if an error occurs when encoding the attribute valuepublic java.lang.String toString()
toString in class iaik.asn1.structures.AttributeValue