Package org.italiangrid.voms.asn1
Class VOMSACGenerator
java.lang.Object
org.italiangrid.voms.asn1.VOMSACGenerator
- All Implemented Interfaces:
VOMSConstants
This AC generator provides the VOMS AC encoding starting from a set of attributes.
- Author:
- Andrea Ceccanti
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnumSet<VOMSACGenerator.ACGenerationProperties>
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
Fields inherited from interface org.italiangrid.voms.asn1.VOMSConstants
VOMS_CERTS_OID, VOMS_EXTENSION_OID, VOMS_FQANS_OID, VOMS_GENERIC_ATTRS_OID, VOMS_HANDLED_EXTENSIONS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.cert.X509AttributeCertificateHolder
generateVOMSAttributeCertificate
(EnumSet<VOMSACGenerator.ACGenerationProperties> generationProperties, List<String> fqans, List<VOMSGenericAttribute> gas, List<String> targets, X509Certificate holderCert, BigInteger serialNumber, Date notBefore, Date notAfter, String voName, String host, int port) org.bouncycastle.cert.X509AttributeCertificateHolder
generateVOMSAttributeCertificate
(List<String> fqans, List<VOMSGenericAttribute> gas, List<String> targets, X509Certificate holderCert, BigInteger serialNumber, Date notBefore, Date notAfter, String voName, String host, int port) eu.emi.security.authn.x509.proxy.CertificateExtension
generateVOMSExtension
(List<org.bouncycastle.cert.X509AttributeCertificateHolder> acs)
-
Field Details
-
defaultGenerationProperties
-
FAKE_EXT_OID
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier FAKE_EXT_OID
-
-
Constructor Details
-
VOMSACGenerator
public VOMSACGenerator(eu.emi.security.authn.x509.X509Credential aaCredential)
-
-
Method Details
-
generateVOMSAttributeCertificate
public org.bouncycastle.cert.X509AttributeCertificateHolder generateVOMSAttributeCertificate(List<String> fqans, List<VOMSGenericAttribute> gas, List<String> targets, X509Certificate holderCert, BigInteger serialNumber, Date notBefore, Date notAfter, String voName, String host, int port) -
generateVOMSAttributeCertificate
public org.bouncycastle.cert.X509AttributeCertificateHolder generateVOMSAttributeCertificate(EnumSet<VOMSACGenerator.ACGenerationProperties> generationProperties, List<String> fqans, List<VOMSGenericAttribute> gas, List<String> targets, X509Certificate holderCert, BigInteger serialNumber, Date notBefore, Date notAfter, String voName, String host, int port) -
generateVOMSExtension
public eu.emi.security.authn.x509.proxy.CertificateExtension generateVOMSExtension(List<org.bouncycastle.cert.X509AttributeCertificateHolder> acs)
-