Package org.italiangrid.voms.ac
Class ACParsingContext
java.lang.Object
org.italiangrid.voms.ac.ACParsingContext
This class describes the context in which a VOMS
AttributeCertificate
has been parsed in a certificate chain.- Author:
- Andrea Ceccanti
-
Constructor Summary
ConstructorsConstructorDescriptionACParsingContext
(List<org.bouncycastle.asn1.x509.AttributeCertificate> aCs, int certChainPostion, X509Certificate[] certChain) -
Method Summary
Modifier and TypeMethodDescriptionList<org.bouncycastle.asn1.x509.AttributeCertificate>
getACs()
int
void
void
setCertChain
(X509Certificate[] certChain) void
setCertChainPostion
(int certChainPostion)
-
Constructor Details
-
ACParsingContext
public ACParsingContext(List<org.bouncycastle.asn1.x509.AttributeCertificate> aCs, int certChainPostion, 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 Details
-
getACs
- Returns:
- the aCs
-
setACs
- 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
- Returns:
- the certChain
-
setCertChain
- Parameters:
certChain
- the certChain to set
-