FileDocCategorySizeDatePackage
GeneralNames.javaAPI DocAzureus 3.0.3.41583Tue Jun 08 05:12:56 BST 2004org.bouncycastle.asn1.x509

GeneralNames

public class GeneralNames extends Object implements org.bouncycastle.asn1.DEREncodable

Fields Summary
org.bouncycastle.asn1.ASN1Sequence
seq
boolean
isInsideImplicit
Constructors Summary
public GeneralNames(org.bouncycastle.asn1.ASN1Sequence seq)

        this.seq = seq;
    
Methods Summary
public org.bouncycastle.asn1.DERObjectgetDERObject()
Produce an object suitable for an ASN1OutputStream.
GeneralNames ::= SEQUENCE SIZE {1..MAX} OF GeneralName

        return seq;
    
public static org.bouncycastle.asn1.x509.GeneralNamesgetInstance(java.lang.Object obj)


       
          
    
        if (obj == null || obj instanceof GeneralNames)
        {
            return (GeneralNames)obj;
        }

        if (obj instanceof ASN1Sequence)
        {
            return new GeneralNames((ASN1Sequence)obj);
        }

        throw new IllegalArgumentException("illegal object in getInstance: " + obj.getClass().getName());
    
public static org.bouncycastle.asn1.x509.GeneralNamesgetInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)

        return getInstance(ASN1Sequence.getInstance(obj, explicit));
    
public voidmarkInsideImplicit(boolean isInsideImplicit)

        this.isInsideImplicit = isInsideImplicit;