public class ProxyACExtension
extends org.bouncycastle.asn1.ASN1Object
Modifier and Type | Field and Description |
---|---|
static 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(X509Certificate cert)
Returns the AC extension form the certificate.
|
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
public static final String AC_OID
public ProxyACExtension(byte[] bytes) throws IOException
bytes
- bytesIOException
- IO exceptionpublic ProxyACExtension(org.bouncycastle.asn1.x509.AttributeCertificate[] certificates)
certificates
- the ACpublic static ProxyACExtension getInstance(X509Certificate cert) throws IOException
cert
- certificateIOException
- 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
Copyright © 2012–2015 European Middleware Initiative. All rights reserved.