Package org.italiangrid.voms.ac
Class ACParsingContext
- java.lang.Object
-
- org.italiangrid.voms.ac.ACParsingContext
-
public class ACParsingContext extends java.lang.ObjectThis class describes the context in which a VOMSAttributeCertificatehas been parsed in a certificate chain.- Author:
- Andrea Ceccanti
-
-
Constructor Summary
Constructors Constructor Description ACParsingContext(java.util.List<org.bouncycastle.asn1.x509.AttributeCertificate> aCs, int certChainPostion, java.security.cert.X509Certificate[] certChain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.bouncycastle.asn1.x509.AttributeCertificate>getACs()java.security.cert.X509Certificate[]getCertChain()intgetCertChainPostion()voidsetACs(java.util.List<org.bouncycastle.asn1.x509.AttributeCertificate> aCs)voidsetCertChain(java.security.cert.X509Certificate[] certChain)voidsetCertChainPostion(int certChainPostion)
-
-
-
Constructor Detail
-
ACParsingContext
public ACParsingContext(java.util.List<org.bouncycastle.asn1.x509.AttributeCertificate> aCs, int certChainPostion, java.security.cert.X509Certificate[] certChain)- Parameters:
aCs- a set of parsed VOMS Attribute CertificatescertChainPostion- the position in the chain where the ACs have been parsedcertChain- the chain from where the ACs have been parsed
-
-
Method Detail
-
getACs
public java.util.List<org.bouncycastle.asn1.x509.AttributeCertificate> getACs()
- Returns:
- the aCs
-
setACs
public void setACs(java.util.List<org.bouncycastle.asn1.x509.AttributeCertificate> aCs)
- Parameters:
aCs- the aCs to set
-
getCertChainPostion
public int getCertChainPostion()
- Returns:
- the certChainPostion
-
setCertChainPostion
public void setCertChainPostion(int certChainPostion)
- Parameters:
certChainPostion- the certChainPostion to set
-
getCertChain
public java.security.cert.X509Certificate[] getCertChain()
- Returns:
- the certChain
-
setCertChain
public void setCertChain(java.security.cert.X509Certificate[] certChain)
- Parameters:
certChain- the certChain to set
-
-