FileDocCategorySizeDatePackage
ASN1Constructured.javaAPI DocAndroid 1.5 API1848Wed May 06 22:41:06 BST 2009org.apache.harmony.security.asn1

ASN1Constructured

public abstract class ASN1Constructured extends ASN1Type
This abstract class is the super class for all constructed ASN.1 types
see
ASN.1

Fields Summary
Constructors Summary
public ASN1Constructured(int tagNumber)

        super(CLASS_UNIVERSAL, tagNumber);
    
public ASN1Constructured(int tagClass, int tagNumber)

        super(tagClass, tagNumber);
    
Methods Summary
public final booleancheckTag(int identifier)
Tests provided identifier.

param
identifier - identifier to be verified
return
- true if identifier correspond to constructed identifier of this ASN.1 type, otherwise false

        return this.constrId == identifier;
    
public voidencodeASN(BerOutputStream out)

        out.encodeTag(constrId);
        encodeContent(out);