FileDocCategorySizeDatePackage
Attributes.javaAPI DocAndroid 1.5 API2011Wed May 06 22:41:06 BST 2009org.apache.harmony.security.x501

Attributes

public class Attributes extends Object
X.501 Attributes This is a draft class for Module InformationFramework (X.501).
see
X.501

Fields Summary
Constructors Summary
Methods Summary
public static org.apache.harmony.security.asn1.ASN1SequencegetASN1(org.apache.harmony.security.asn1.InformationObjectSet set)
The class corresponds to following ASN.1 type: Attribute ::= SEQUENCE { type AttributeType, values SET SIZE (0..MAX) OF AttributeValue } AttributeType ::= OBJECT IDENTIFIER AttributeValue ::= ANY DEFINED BY AttributeType

        ASN1OpenType.Id id = new ASN1OpenType.Id();
        ASN1OpenType any = new ASN1OpenType(id, set);

        return new ASN1Sequence(new ASN1Type[] { id, new ASN1SetOf(any) });