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

ASN1Primitive

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

Fields Summary
Constructors Summary
public ASN1Primitive(int tagNumber)

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

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

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

        out.encodeTag(id);
        encodeContent(out);