public final class RSABlindSignatureParameters
extends java.lang.Object
The randomised variants are RECOMMENDED by RFC 9474 sec. 5; the deterministic
variants are useful for interop with callers that must derive the prepared
message from msg alone.
| Modifier and Type | Field and Description |
|---|---|
static int |
RANDOMIZED_PREFIX_LEN
Length in bytes of the random prefix prepended to
msg by
PrepareRandomize (RFC 9474 sec. 4.1). |
static RSABlindSignatureParameters |
RSABSSA_SHA384_PSS_DETERMINISTIC
RSABSSA-SHA384-PSS-Deterministic — SHA-384, 48-byte salt, identity
preparation.
|
static RSABlindSignatureParameters |
RSABSSA_SHA384_PSS_RANDOMIZED
RSABSSA-SHA384-PSS-Randomized — SHA-384, 48-byte salt, 32-byte random
prefix.
|
static RSABlindSignatureParameters |
RSABSSA_SHA384_PSSZERO_DETERMINISTIC
RSABSSA-SHA384-PSSZERO-Deterministic — SHA-384, empty salt, identity
preparation.
|
static RSABlindSignatureParameters |
RSABSSA_SHA384_PSSZERO_RANDOMIZED
RSABSSA-SHA384-PSSZERO-Randomized — SHA-384, empty salt, 32-byte random
prefix.
|
| Modifier and Type | Method and Description |
|---|---|
Digest |
createDigest()
Return a fresh
Digest instance for the variant's content hash
(SHA-384 for every variant defined in RFC 9474 sec. 5). |
java.lang.String |
getName()
Return the RFC 9474 sec. 5 variant name (e.g.
|
int |
getSaltLength()
Return the EMSA-PSS salt length, in bytes.
|
boolean |
isRandomized()
Return true if the
Prepare step prepends a fresh 32-byte random
prefix (RFC 9474 sec. 4.1 — PrepareRandomize); false if Prepare
is the identity (RFC 9474 sec. 4.1 — PrepareIdentity). |
public static final int RANDOMIZED_PREFIX_LEN
msg by
PrepareRandomize (RFC 9474 sec. 4.1).public static final RSABlindSignatureParameters RSABSSA_SHA384_PSS_RANDOMIZED
public static final RSABlindSignatureParameters RSABSSA_SHA384_PSSZERO_RANDOMIZED
public static final RSABlindSignatureParameters RSABSSA_SHA384_PSS_DETERMINISTIC
public static final RSABlindSignatureParameters RSABSSA_SHA384_PSSZERO_DETERMINISTIC
public java.lang.String getName()
RSABSSA-SHA384-PSS-Randomized).public int getSaltLength()
public boolean isRandomized()
Prepare step prepends a fresh 32-byte random
prefix (RFC 9474 sec. 4.1 — PrepareRandomize); false if Prepare
is the identity (RFC 9474 sec. 4.1 — PrepareIdentity).