Class MTCSignatureAlgorithm

java.lang.Object
org.bouncycastle.cert.plants.MTCSignatureAlgorithm

public final class MTCSignatureAlgorithm extends Object
String constants naming the cosigner signature algorithms this package binds. draft-ietf-plants-merkle-tree-certs fixes no list of algorithms: Section 5.3.3 leaves the algorithm to the cosigner's public key, which the relying party is configured with, so these names are BC's own and never appear on the wire. They are the canonical names passed to MTCSignatureVerifier implementations (and their concrete Bc* / Jca* forms) to select a signature primitive.

Using the constant instead of an inline string lets a CI-time check catch typos.

The cosignature bytes under the two ECDSA names are the DER encoding of the X9.62 ECDSA-Sig-Value SEQUENCE, as produced by the JCA SHA256withECDSA / SHA384withECDSA algorithms and by the working group's reference implementation; the draft leaves the encoding to the cosigner, and releases before 1.87 used the fixed-width r||s form instead.