Class CertificateAuthenticity.CertificationChain

  • Enclosing class:
    CertificateAuthenticity

    public static class CertificateAuthenticity.CertificationChain
    extends java.lang.Object
    • Constructor Detail

      • CertificationChain

        public CertificationChain​(int trustAmount,
                                  @Nonnull
                                  java.util.List<CertificateAuthenticity.ChainLink> chainLinks)
        A chain of certifications.
        Parameters:
        trustAmount - actual trust amount of the chain
        chainLinks - links of the chain, starting at the trust-root, ending at the target.
    • Method Detail

      • getTrustAmount

        public int getTrustAmount()
        Actual trust amount of the certification chain.
        Returns:
        trust amount
      • getChainLinks

        @Nonnull
        public java.util.List<CertificateAuthenticity.ChainLink> getChainLinks()
        Return all links in the chain, starting at the trust-root and ending at the target.
        Returns:
        chain links