Package org.bouncycastle.cert.plants
Interface MTCCosignerVerifierProvider
-
- All Known Implementing Classes:
BcMTCCosignerVerifierProvider,JcaMTCCosignerVerifierProvider
public interface MTCCosignerVerifierProviderLooks up anMTCCosignerVerifierfor 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
nullfor an unknown cosigner instead of throwing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MTCCosignerVerifierget(byte[] cosignerId)
-
-
-
Method Detail
-
get
MTCCosignerVerifier get(byte[] cosignerId)
- Parameters:
cosignerId- the binary trust anchor ID of the cosigner- Returns:
- a verifier for the cosigner, or
nullif the cosigner is unknown
-
-