@microsoft/ccf-app
    Preparing search index...

    Variable isValidX509CertChainConst

    isValidX509CertChain: (chain: string, trusted: string) => boolean = ccf.crypto.isValidX509CertChain

    Returns whether a certificate chain is valid given a set of trusted certificates. The chain and trusted certificates are PEM-encoded bundles of X.509 certificates.

    Type Declaration

      • (chain: string, trusted: string): boolean
      • Returns whether a certificate chain is valid given a set of trusted certificates. The chain and trusted certificates are PEM-encoded bundles of X.509 certificates.

        Parameters

        • chain: string
        • trusted: string

        Returns boolean