eu.emi.security.authn.x509.helpers.proxy
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, hashCode
public static final String AC_OID
public ProxyACExtension(byte[] bytes) throws IOException
bytes
- IOException
public 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 ASN1Encodable
Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.