Verify packets according to a trust schema.

Hierarchy

  • PolicyVerifier<Context>
    • TrustSchemaVerifier

Constructors

Properties

certSources: CertSources

Methods

  • Check policy on certificate name.

    Parameters

    • pkt: Verifier.Verifiable

      Packet carrying KeyLocator that triggered certificate retrieval.

    • cert: Certificate

      Retrieved certificate.

    • ctx: Context

      Return value of PolicyVerifier.checkKeyLocatorPolicy.

    Returns void

    Error Thrown if policy is violated.

  • Check policy on KeyLocator name, before certificate retrieval.

    Parameters

    Returns Context

    arbitrary value to be passed to PolicyVerifier.checkCertPolicy.

    Error Thrown if policy is violated.