Class ACParsingContext


  • public class ACParsingContext
    extends java.lang.Object
    This class describes the context in which a VOMS AttributeCertificate has 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()  
      int getCertChainPostion()  
      void setACs​(java.util.List<org.bouncycastle.asn1.x509.AttributeCertificate> aCs)  
      void setCertChain​(java.security.cert.X509Certificate[] certChain)  
      void setCertChainPostion​(int certChainPostion)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 Certificates
        certChainPostion - the position in the chain where the ACs have been parsed
        certChain - 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