|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Encodable
eu.emi.security.authn.x509.helpers.proxy.ProxyACExtension
public class ProxyACExtension
A class for handling the VOMS AC extension in certificates (OID: 1.3.6.1.4.1.8005.100.100.5)
Field Summary | |
---|---|
static String |
AC_OID
The OID for the AC assertion. |
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable |
---|
BER, DER |
Constructor Summary | |
---|---|
ProxyACExtension(AttributeCertificate[] certificates)
Used to generate an instance from the AttributeCertificate object. |
|
ProxyACExtension(byte[] bytes)
Generates a new ProxyACExtension object form the byte array |
Method Summary | |
---|---|
AttributeCertificate[] |
getAttributeCertificates()
Used to get the AC extension object. |
static ProxyACExtension |
getInstance(X509Certificate cert)
Returns the AC extension form the certificate. |
DERObject |
toASN1Object()
|
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable |
---|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String AC_OID
Constructor Detail |
---|
public ProxyACExtension(byte[] bytes) throws IOException
bytes
-
IOException
public ProxyACExtension(AttributeCertificate[] certificates)
certificates
- the ACMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |