Package org.italiangrid.voms.asn1
Class VOMSACGenerator
- java.lang.Object
-
- org.italiangrid.voms.asn1.VOMSACGenerator
-
- All Implemented Interfaces:
VOMSConstants
public class VOMSACGenerator extends Object implements VOMSConstants
This AC generator provides the VOMS AC encoding starting from a set of attributes.- Author:
- Andrea Ceccanti
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VOMSACGenerator.ACGenerationProperties
-
Field Summary
Fields Modifier and Type Field Description static EnumSet<VOMSACGenerator.ACGenerationProperties>
defaultGenerationProperties
static org.bouncycastle.asn1.ASN1ObjectIdentifier
FAKE_EXT_OID
-
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 Constructor Description VOMSACGenerator(eu.emi.security.authn.x509.X509Credential aaCredential)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
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 Detail
-
defaultGenerationProperties
public static final EnumSet<VOMSACGenerator.ACGenerationProperties> defaultGenerationProperties
-
FAKE_EXT_OID
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier FAKE_EXT_OID
-
-
Method Detail
-
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)
-
-