org.italiangrid.voms.asn1
Class VOMSACGenerator

java.lang.Object
  extended by 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
static class VOMSACGenerator.ACGenerationProperties
           
 
Field Summary
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
VOMSACGenerator(eu.emi.security.authn.x509.X509Credential aaCredential)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultGenerationProperties

public static final EnumSet<VOMSACGenerator.ACGenerationProperties> defaultGenerationProperties

FAKE_EXT_OID

public static final org.bouncycastle.asn1.ASN1ObjectIdentifier FAKE_EXT_OID
Constructor Detail

VOMSACGenerator

public VOMSACGenerator(eu.emi.security.authn.x509.X509Credential aaCredential)
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)


Copyright © 2013. All Rights Reserved.