All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface iaik.interfaces.ASN1Type

public interface ASN1Type
Interface for objects, which implement an ASN.1 type. A class which implements this interface is able to parse and create an ASN1Object.

See Also:
SequenceOf

Method Index

 o decode(ASN1Object)
Decodes an ASN1Object according to the ASN.1 type the class implements.
 o toASN1Object()
Creates an ASN1Object according to the ASN.1 type the class implements.

Methods

 o decode
 public abstract void decode(ASN1Object obj) throws CodingException
Decodes an ASN1Object according to the ASN.1 type the class implements.

Parameters:
obj - the ASN.1 type as ASN1Object
Throws: CodingException
if the ASN1Object could not be parsed
 o toASN1Object
 public abstract ASN1Object toASN1Object()
Creates an ASN1Object according to the ASN.1 type the class implements.

Returns:
the created ASN1Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index