public interface MultiMessageStructurePreservingSignatureScheme extends StandardMultiMessageSignatureScheme
This is a special case of a multi-message signature scheme because SPS supports signing group elements
See paper [1] for the definition of SPS.
[1] Abe, Masayuki and Fuchsbauer, Georg and Groth, Jens and Haralambiev, Kristiyan and Ohkubo, Miyako "Structure-preserving signatures and commitments to group elements", in CRYPTO 2010, https://www.iacr.org/archive/crypto2010/62230210/62230210.pdf, 2010.
| Modifier and Type | Method and Description |
|---|---|
default Signature |
sign(SigningKey secretKey,
org.cryptimeleon.math.structures.groups.GroupElement... groupElements)
Signs multiple group elements as a single unit.
|
default Signature |
sign(SigningKey secretKey,
org.cryptimeleon.math.structures.groups.cartesian.GroupElementVector groupElements)
Signs the given vector of group elements.
|
default java.lang.Boolean |
verify(VerificationKey verificationKey,
Signature signature,
org.cryptimeleon.math.structures.groups.GroupElement... groupElements)
Verifies a signature for multiple messages.
|
default java.lang.Boolean |
verify(VerificationKey verificationKey,
Signature signature,
org.cryptimeleon.math.structures.groups.cartesian.GroupElementVector groupElements)
Verifies a signature for a vector of group elements.
|
generateKeyPair, generateKeyPairsign, sign, verify, verifygetMaxNumberOfBytesForMapToPlaintext, mapToPlaintext, mapToPlaintext, restoreFromRepresentation, restorePlainText, restoreSignature, restoreSigningKey, restoreVerificationKey, sign, sign, verify, verifydefault Signature sign(SigningKey secretKey, org.cryptimeleon.math.structures.groups.GroupElement... groupElements)
secretKey - key to sign withgroupElements - group elements to signdefault java.lang.Boolean verify(VerificationKey verificationKey, Signature signature, org.cryptimeleon.math.structures.groups.GroupElement... groupElements)
verificationKey - key to use for verificationsignature - signature to verifygroupElements - group elements to verify signature fordefault Signature sign(SigningKey secretKey, org.cryptimeleon.math.structures.groups.cartesian.GroupElementVector groupElements)
secretKey - key to sign withgroupElements - vector of group elements to signdefault java.lang.Boolean verify(VerificationKey verificationKey, Signature signature, org.cryptimeleon.math.structures.groups.cartesian.GroupElementVector groupElements)
verificationKey - key to use for verificationsignature - signature to verifygroupElements - vector of group elements to verify signature for