Methods Summary |
---|
public static org.bouncycastle.asn1.x509.AttCertIssuer | getInstance(java.lang.Object obj)
if (obj instanceof AttCertIssuer)
{
return (AttCertIssuer)obj;
}
else if (obj instanceof V2Form)
{
return new AttCertIssuer(V2Form.getInstance(obj));
}
else if (obj instanceof GeneralNames)
{
return new AttCertIssuer((GeneralNames)obj);
}
else if (obj instanceof ASN1TaggedObject)
{
return new AttCertIssuer(V2Form.getInstance((ASN1TaggedObject)obj, false));
}
else if (obj instanceof ASN1Sequence)
{
return new AttCertIssuer(GeneralNames.getInstance(obj));
}
throw new IllegalArgumentException("unknown object in factory: " + obj.getClass());
|
public static org.bouncycastle.asn1.x509.AttCertIssuer | getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
return getInstance(obj.getObject()); // must be explictly tagged
|
public org.bouncycastle.asn1.ASN1Encodable | getIssuer()
return obj;
|
public org.bouncycastle.asn1.DERObject | toASN1Object()Produce an object suitable for an ASN1OutputStream.
AttCertIssuer ::= CHOICE {
v1Form GeneralNames, -- MUST NOT be used in this
-- profile
v2Form [0] V2Form -- v2 only
}
return choiceObj;
|