|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.asn1.structures.AttributeValue iaik.cms.EncodedAttributeValue
public class EncodedAttributeValue
CMS AttributeValue together with its BER encoded representation.
Method Summary | |
---|---|
void |
decode(ASN1Object obj)
Decodes the given ASN.1 AttributeValue. |
ObjectID |
getAttributeType()
Returns the attribute type OID identifying the type to which this Attribute Value belongs. |
byte[] |
getEncoded()
Gets the encoded AttributeValue. |
AttributeValue |
getValue()
Gets the AttributeValue. |
ASN1Object |
toASN1Object()
Returns this AttributeValue as ASN1Object. |
java.lang.String |
toString()
Returns a String representation of the AttributeValue. |
Methods inherited from class iaik.asn1.structures.AttributeValue |
---|
getName, multipleAllowed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public ObjectID getAttributeType()
getAttributeType
in class AttributeValue
public void decode(ASN1Object obj) throws CodingException
obj
- the AttributeValue as ASN1Object
CodingException
- if the ASN1Object could not be parsedpublic ASN1Object toASN1Object() throws CodingException
CodingException
- if the ASN1Object cannot be builtpublic AttributeValue getValue() throws CodingException
CodingException
- if an error occurs when parsing the (yet not parsed) attribute valuepublic byte[] getEncoded() throws CodingException
CodingException
- if an error occurs when encoding the attribute valuepublic java.lang.String toString()
toString
in class AttributeValue
|
This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |