public class ProxyACExtension extends ASN1Encodable
| Modifier and Type | Field and Description |
|---|---|
static String |
AC_OID
The OID for the AC assertion.
|
BER, DER| Constructor and Description |
|---|
ProxyACExtension(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 |
|---|---|
AttributeCertificate[] |
getAttributeCertificates()
Used to get the AC extension object.
|
static ProxyACExtension |
getInstance(X509Certificate cert)
Returns the AC extension form the certificate.
|
DERObject |
toASN1Object() |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic static final String AC_OID
public ProxyACExtension(byte[] bytes)
throws IOException
bytes - IOExceptionpublic ProxyACExtension(AttributeCertificate[] certificates)
certificates - the ACpublic static ProxyACExtension getInstance(X509Certificate cert) throws IOException
IOException - In case there is a problem parsing the certificate.public AttributeCertificate[] getAttributeCertificates()
public DERObject toASN1Object()
toASN1Object in class ASN1EncodableCopyright © 2012-2014 European Middleware Initiative. All Rights Reserved.