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
Field Summary |
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
FAKE_EXT_OID
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FAKE_EXT_OID
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier FAKE_EXT_OID
VOMSACGenerator
public VOMSACGenerator(eu.emi.security.authn.x509.X509Credential aaCredential,
String voName,
String host,
int port)
generateVOMSAttributeCertificate
public org.bouncycastle.cert.X509AttributeCertificateHolder generateVOMSAttributeCertificate(List<String> fqans,
List<VOMSGenericAttribute> gas,
List<String> targets,
X509Certificate holderCert,
BigInteger serialNumber,
Date notBefore,
Date notAfter)
generateVOMSExtension
public eu.emi.security.authn.x509.proxy.CertificateExtension generateVOMSExtension(List<org.bouncycastle.cert.X509AttributeCertificateHolder> acs)
setIncludeEmptyACCertsExtension
public void setIncludeEmptyACCertsExtension(boolean includeEmptyACCertsExtension)
- Parameters:
includeEmptyACCertsExtension
- the includeEmptyACCertsExtension to set
setSkipACCertsExtension
public void setSkipACCertsExtension(boolean skipACCertsExtension)
- Parameters:
skipACCertsExtension
- the skipACCertsExtension to set
setUseFakeSignatureBits
public void setUseFakeSignatureBits(boolean useFakeSignatureBits)
- Parameters:
useFakeSignatureBits
- the useFakeSignatureBits to set
setIncludeFakeCriticalExtensions
public void setIncludeFakeCriticalExtensions(boolean includeFakeCriticalExtensions)
- Parameters:
includeFakeCriticalExtensions
- the includeFakeCriticalExtensions to set
setIncludeCriticalNoRevAvail
public void setIncludeCriticalNoRevAvail(boolean includeCriticalNoRevAvail)
- Parameters:
includeCriticalNoRevAvail
- the includeCriticalNoRevAvail to set
setIncludeCriticalAKID
public void setIncludeCriticalAKID(boolean includeCriticalAKID)
- Parameters:
includeCriticalAKID
- the includeCriticalAKID to set
Copyright © 2013. All Rights Reserved.