iaik.asn1
Interface ASN1Type

All Known Subinterfaces:
CertificateResponse
All Known Implementing Classes:
AVA, PolicyMapping, AlgorithmID, Name, GeneralSubtree, AccessDescription, Attribute, AttributeValue, RDN, GeneralNames, SafeBag, AuthenticatedSafe, SignerInfo, DigestInfo, RecipientInfo, PrivateKeyInfo, EncryptedPrivateKeyInfo, PublicKeyInfo, IaikPBEParameterSpec, X509CRL, X509Certificate, AttributeCertificate, QCStatement, BiometricData, Request

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.

Version:
File Revision 11

Method Summary
 void decode(ASN1Object obj)
          Decodes an ASN1Object according to the ASN.1 type the class implements.
 ASN1Object toASN1Object()
          Creates an ASN1Object according to the ASN.1 type the class implements.
 

Method Detail

decode

public 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

toASN1Object

public ASN1Object toASN1Object()
                        throws CodingException
Creates an ASN1Object according to the ASN.1 type the class implements.
Returns:
the created ASN1Object
Throws:
CodingException - if an de/encoding error occurs

This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK