Methods Summary |
---|
public AttributeCertificateInfo | getAcinfo()
return acinfo;
|
public static org.bouncycastle.asn1.x509.AttributeCertificate | getInstance(java.lang.Object obj)
if (obj instanceof AttributeCertificate)
{
return (AttributeCertificate)obj;
}
else if (obj instanceof ASN1Sequence)
{
return new AttributeCertificate((ASN1Sequence)obj);
}
throw new IllegalArgumentException("unknown object in factory");
|
public AlgorithmIdentifier | getSignatureAlgorithm()
return signatureAlgorithm;
|
public org.bouncycastle.asn1.DERBitString | getSignatureValue()
return signatureValue;
|
public org.bouncycastle.asn1.DERObject | toASN1Object()Produce an object suitable for an ASN1OutputStream.
AttributeCertificate ::= SEQUENCE {
acinfo AttributeCertificateInfo,
signatureAlgorithm AlgorithmIdentifier,
signatureValue BIT STRING
}
ASN1EncodableVector v = new ASN1EncodableVector();
v.add(acinfo);
v.add(signatureAlgorithm);
v.add(signatureValue);
return new DERSequence(v);
|