public interface MTCCosignerVerifier extends ContentVerifier
Implementations encapsulate the cosigner's public key and the algorithm
choice. As a ContentVerifier, callers feed the already-encoded
CosignedMessage bytes (e.g. via MTCCosignedMessage.encode(byte[], long, long, byte[], byte[])) through
ContentVerifier.getOutputStream() and then call ContentVerifier.verify(byte[]) with the
candidate signature.
MTCCosignerVerifierProvider,
MTCCosignedMessage| Modifier and Type | Method and Description |
|---|---|
byte[] |
getCosignerId() |
getAlgorithmIdentifier, getOutputStream, verifybyte[] getCosignerId()
MTCCosignerVerifierProvider. Consumers counting
cosignatures use this to confirm a signature's
cosigner_id names the identity of the key it is checked
against, rather than relying solely on the cosigner_name
binding inside the CosignedMessage.