org.gudy.bouncycastle.asn1.x509
Class AttributeCertificate
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Encodable
org.gudy.bouncycastle.asn1.x509.AttributeCertificate
- All Implemented Interfaces:
- DEREncodable
public class AttributeCertificate
- extends ASN1Encodable
AttributeCertificate
public AttributeCertificate(AttributeCertificateInfo acinfo,
AlgorithmIdentifier signatureAlgorithm,
DERBitString signatureValue)
AttributeCertificate
public AttributeCertificate(ASN1Sequence seq)
getInstance
public static AttributeCertificate getInstance(Object obj)
- Parameters:
obj
-
- Returns:
- an AttributeCertificate object
getAcinfo
public AttributeCertificateInfo getAcinfo()
getSignatureAlgorithm
public AlgorithmIdentifier getSignatureAlgorithm()
getSignatureValue
public DERBitString getSignatureValue()
toASN1Object
public DERObject toASN1Object()
- Produce an object suitable for an ASN1OutputStream.
AttributeCertificate ::= SEQUENCE {
acinfo AttributeCertificateInfo,
signatureAlgorithm AlgorithmIdentifier,
signatureValue BIT STRING
}
- Specified by:
toASN1Object
in class ASN1Encodable