|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiaik.asn1.structures.AttributeValue
iaik.cms.EncodedAttributeValue
public class EncodedAttributeValue
CMS AttributeValue together with its BER encoded representation.
Method Summary | |
---|---|
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. |
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 iaik.asn1.ObjectID getAttributeType()
getAttributeType
in class iaik.asn1.structures.AttributeValue
public void decode(iaik.asn1.ASN1Object obj) throws iaik.asn1.CodingException
obj
- the AttributeValue as ASN1Object
iaik.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
|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
v6.1 (c) 2002 IAIK, (c) 2003 - 2025 SIC |
![]() |