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.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List
<org.bouncycastle.asn1.x509.AttributeCertificate> The parsed VOMS attribute certificatesprivate X509Certificate[]
The certificate chain form which the VOMS attributes have been parsed.private int
The position in the cert chain where the VOMS attributes have been parsed -
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)
-
Field Details
-
ACs
The parsed VOMS attribute certificates -
certChainPostion
private int certChainPostionThe position in the cert chain where the VOMS attributes have been parsed -
certChain
The certificate chain form which the VOMS attributes have been parsed.
-
-
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
-