Interface MTCCosignerVerifierProvider

All Known Implementing Classes:
BcMTCCosignerVerifierProvider, JcaMTCCosignerVerifierProvider

public interface MTCCosignerVerifierProvider
Looks up an MTCCosignerVerifier for a given cosigner trust anchor ID.

Provider implementations encapsulate the relying party's table of trusted cosigner public keys and the dispatch from a cosigner identifier to the lightweight or JCA-side signature primitive that verifies that cosigner's signatures. Section 7.2 of draft-ietf-plants-merkle-tree-certs requires unrecognised cosigners to be ignored rather than rejected, so this method returns null for an unknown cosigner instead of throwing.

  • Method Summary

    Modifier and Type
    Method
    Description
    get(byte[] cosignerId)
     
  • Method Details

    • get

      MTCCosignerVerifier get(byte[] cosignerId)
      Parameters:
      cosignerId - the binary trust anchor ID of the cosigner
      Returns:
      a verifier for the cosigner, or null if the cosigner is unknown