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

IssuerSerial

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

Fields Summary
GeneralNames
issuer
org.bouncycastle.asn1.DERInteger
serial
org.bouncycastle.asn1.DERBitString
issuerUID
Constructors Summary
public IssuerSerial(org.bouncycastle.asn1.ASN1Sequence seq)

        issuer = GeneralNames.getInstance(seq.getObjectAt(0));
        serial = (DERInteger)seq.getObjectAt(1);

        if (seq.size() == 3)
        {
            issuerUID = (DERBitString)seq.getObjectAt(2);
        }
    
Methods Summary
public org.bouncycastle.asn1.DERObjectgetDERObject()
Produce an object suitable for an ASN1OutputStream.
IssuerSerial ::= SEQUENCE {
issuer GeneralNames,
serial CertificateSerialNumber,
issuerUID UniqueIdentifier OPTIONAL
}

        ASN1EncodableVector  v = new ASN1EncodableVector();

        v.add(issuer);
        v.add(serial);

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

        return new DERSequence(v);
    
public GeneralNamesgetIssuer()

        return issuer;
    
public org.bouncycastle.asn1.DERBitStringgetIssuerUID()

        return issuerUID;
    
public org.bouncycastle.asn1.DERIntegergetSerial()

        return serial;