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.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<org.bouncycastle.asn1.x509.AttributeCertificate>ACsThe parsed VOMS attribute certificatesprivate java.security.cert.X509Certificate[]certChainThe certificate chain form which the VOMS attributes have been parsed.private intcertChainPostionThe position in the cert chain where the VOMS attributes have been parsed
-
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)
-
-
-
Field Detail
-
ACs
private java.util.List<org.bouncycastle.asn1.x509.AttributeCertificate> ACs
The parsed VOMS attribute certificates
-
certChainPostion
private int certChainPostion
The position in the cert chain where the VOMS attributes have been parsed
-
certChain
private java.security.cert.X509Certificate[] certChain
The certificate chain form which the VOMS attributes have been parsed.
-
-
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
-
-