Class CaInfo


  • public class CaInfo
    extends Object
    CA information.
    Since:
    2.0.0
    Author:
    Lijun Liao (xipki)
    • Constructor Detail

      • CaInfo

        public CaInfo​(org.xipki.ca.api.mgmt.entry.CaEntry caEntry,
                      org.xipki.ca.api.mgmt.entry.CaConfColumn caConfColumn,
                      CertStore certStore)
               throws org.xipki.pki.OperationException
        Throws:
        org.xipki.pki.OperationException
    • Method Detail

      • getCaKeyspec

        public String getCaKeyspec()
      • getCaKeyAlgId

        public org.bouncycastle.asn1.x509.AlgorithmIdentifier getCaKeyAlgId()
      • getNextCrlNumber

        public long getNextCrlNumber()
      • setNextCrlNumber

        public void setNextCrlNumber​(long crlNumber)
      • getPublicCaInfo

        public org.xipki.ca.api.PublicCaInfo getPublicCaInfo()
      • getSubject

        public String getSubject()
      • getNotBefore

        public Instant getNotBefore()
      • getNotAfter

        public Instant getNotAfter()
      • getSerialNumber

        public BigInteger getSerialNumber()
      • isSelfSigned

        public boolean isSelfSigned()
      • getCertInCmpFormat

        public org.bouncycastle.asn1.cmp.CMPCertificate getCertInCmpFormat()
      • getNoNewCertificateAfter

        public Instant getNoNewCertificateAfter()
      • getCaEntry

        public org.xipki.ca.api.mgmt.entry.CaEntry getCaEntry()
      • getCaConfColumn

        public org.xipki.ca.api.mgmt.entry.CaConfColumn getCaConfColumn()
      • getPathLenConstraint

        public int getPathLenConstraint()
      • getIdent

        public org.xipki.ca.api.NameId getIdent()
      • getCaUris

        public org.xipki.ca.api.CaUris getCaUris()
      • getMaxValidity

        public org.xipki.util.Validity getMaxValidity()
      • hasSubject

        public boolean hasSubject​(byte[] subject)
      • getCert

        public org.xipki.security.X509Cert getCert()
      • getCertchain

        public List<org.xipki.security.X509Cert> getCertchain()
      • getCertchainInCmpFormat

        public List<org.bouncycastle.asn1.cmp.CMPCertificate> getCertchainInCmpFormat()
      • getCrlSignerName

        public String getCrlSignerName()
      • setCrlSignerName

        public void setCrlSignerName​(String crlSignerName)
      • getCrlControl

        public org.xipki.ca.api.mgmt.CrlControl getCrlControl()
      • getCtlogControl

        public org.xipki.ca.api.mgmt.CtlogControl getCtlogControl()
      • getKeypairGenNames

        public List<String> getKeypairGenNames()
      • getExtraControl

        public org.xipki.util.ConfPairs getExtraControl()
      • getNumCrls

        public int getNumCrls()
      • getStatus

        public org.xipki.ca.api.mgmt.CaStatus getStatus()
      • setStatus

        public void setStatus​(org.xipki.ca.api.mgmt.CaStatus status)
      • toString

        public String toString​(boolean verbose)
      • isSaveCert

        public boolean isSaveCert()
      • isSaveKeypair

        public boolean isSaveKeypair()
      • getHexSha1OfCert

        public String getHexSha1OfCert()
      • getValidityMode

        public org.xipki.ca.api.mgmt.ValidityMode getValidityMode()
      • getPermission

        public org.xipki.ca.api.mgmt.Permissions getPermission()
      • setPermissions

        public void setPermissions​(org.xipki.ca.api.mgmt.Permissions permission)
      • getRevocationInfo

        public org.xipki.security.CertRevocationInfo getRevocationInfo()
      • setRevocationInfo

        public void setRevocationInfo​(org.xipki.security.CertRevocationInfo revocationInfo)
      • getKeepExpiredCertDays

        public int getKeepExpiredCertDays()
      • nextCrlNumber

        public BigInteger nextCrlNumber()
                                 throws org.xipki.pki.OperationException
        Throws:
        org.xipki.pki.OperationException
      • getMaxFullCrlNumber

        public BigInteger getMaxFullCrlNumber()
                                       throws org.xipki.pki.OperationException
        Throws:
        org.xipki.pki.OperationException
      • getSigner

        public org.xipki.security.ConcurrentContentSigner getSigner​(List<org.xipki.security.SignAlgo> algos)
      • initSigner

        public boolean initSigner​(org.xipki.security.SecurityFactory securityFactory)
                           throws org.xipki.security.XiSecurityException
        Throws:
        org.xipki.security.XiSecurityException
      • isSignerRequired

        public boolean isSignerRequired()
      • revokeSuspendedCertsControl

        public org.xipki.ca.api.mgmt.RevokeSuspendedControl revokeSuspendedCertsControl()