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

V2Form

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

Fields Summary
GeneralNames
issuerName
IssuerSerial
baseCertificateID
ObjectDigestInfo
objectDigestInfo
Constructors Summary
Methods Summary
public IssuerSerialgetBaseCertificateID()

        return baseCertificateID;
    
public org.bouncycastle.asn1.DERObjectgetDERObject()
Produce an object suitable for an ASN1OutputStream.
V2Form ::= SEQUENCE {
issuerName GeneralNames OPTIONAL,
baseCertificateID [0] IssuerSerial OPTIONAL,
objectDigestInfo [1] ObjectDigestInfo OPTIONAL
-- issuerName MUST be present in this profile
-- baseCertificateID and objectDigestInfo MUST NOT
-- be present in this profile
}

        ASN1EncodableVector  v = new ASN1EncodableVector();

        if (issuerName != null)
        {
            v.add(issuerName);
        }

        if (baseCertificateID != null)
        {
            v.add(baseCertificateID);
        }

        if (objectDigestInfo != null)
        {
            v.add(objectDigestInfo);
        }

        return new DERSequence(v);
    
public GeneralNamesgetIssuerName()

        return issuerName;
    
public ObjectDigestInfogetObjectDigestInfo()

        return objectDigestInfo;