public class ProxyACExtension
extends org.bouncycastle.asn1.ASN1Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AC_OID
The OID for the AC assertion.
|
Constructor and Description |
---|
ProxyACExtension(org.bouncycastle.asn1.x509.AttributeCertificate[] certificates)
Used to generate an instance from the AttributeCertificate object.
|
ProxyACExtension(byte[] bytes)
Generates a new ProxyACExtension object form the byte array
|
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.x509.AttributeCertificate[] |
getAttributeCertificates()
Used to get the AC extension object.
|
static ProxyACExtension |
getInstance(java.security.cert.X509Certificate cert)
Returns the AC extension form the certificate.
|
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
public static final java.lang.String AC_OID
public ProxyACExtension(byte[] bytes) throws java.io.IOException
bytes
- bytesjava.io.IOException
- IO exceptionpublic ProxyACExtension(org.bouncycastle.asn1.x509.AttributeCertificate[] certificates)
certificates
- the ACpublic static ProxyACExtension getInstance(java.security.cert.X509Certificate cert) throws java.io.IOException
cert
- certificatejava.io.IOException
- In case there is a problem parsing the certificate.public org.bouncycastle.asn1.x509.AttributeCertificate[] getAttributeCertificates()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object