public class ProxyACExtension extends ASN1Object
Modifier and Type | Field and Description |
---|---|
static String |
AC_OID
The OID for the AC assertion.
|
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.
|
ASN1Primitive |
toASN1Primitive() |
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public static final String AC_OID
public ProxyACExtension(byte[] bytes) throws IOException
bytes
- bytesIOException
- IO exceptionpublic ProxyACExtension(AttributeCertificate[] certificates)
certificates
- the ACpublic static ProxyACExtension getInstance(X509Certificate cert) throws IOException
cert
- certificateIOException
- In case there is a problem parsing the certificate.public AttributeCertificate[] getAttributeCertificates()
public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
Copyright © 2012-2017 European Middleware Initiative. All Rights Reserved.