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

ASN1Set

public class ASN1Set extends ASN1TypeCollection
This class represents ASN.1 Set type.
see
ASN.1

Fields Summary
Constructors Summary
public ASN1Set(ASN1Type[] type)

        super(TAG_SET, type);

        //FIXME implement check for distinct tags
        //if (!hasDistinctTags(type)) {
        //    throw new RuntimeException("ASN1 set type: " + getClass().getName()
        //            + " MUST have alternatives with distinct tags");
        //}
    
Methods Summary
public java.lang.Objectdecode(BerInputStream in)

        in.readSet(this);
        
        if(in.isVerify){
            return null;
        }
        return getDecodedObject(in);
    
public final voidencodeContent(BerOutputStream out)

        out.encodeSet(this);
    
public final voidsetEncodingContent(BerOutputStream out)

        out.getSetLength(this);