this.name = X509Name.getInstance(seq.getObjectAt(0)); this.serialNumber = (DERInteger)seq.getObjectAt(1);
this.name = name; this.serialNumber = new DERInteger(serialNumber);
this.name = name; this.serialNumber = serialNumber;
if (obj instanceof IssuerAndSerialNumber) { return (IssuerAndSerialNumber)obj; } else if (obj instanceof ASN1Sequence) { return new IssuerAndSerialNumber((ASN1Sequence)obj); } throw new IllegalArgumentException( "Illegal object in IssuerAndSerialNumber: " + obj.getClass().getName());
return name;
return serialNumber;
ASN1EncodableVector v = new ASN1EncodableVector(); v.add(name); v.add(serialNumber); return new DERSequence(v);