@Immutable public final class RsaSsaPssVerifyJce extends Object implements PublicKeyVerify
| Modifier and Type | Field and Description |
|---|---|
static TinkFipsUtil.AlgorithmFipsCompatibility |
FIPS |
| Constructor and Description |
|---|
RsaSsaPssVerifyJce(RSAPublicKey pubKey,
Enums.HashType sigHash,
Enums.HashType mgf1Hash,
int saltLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
verify(byte[] signature,
byte[] data)
Verifies whether
signature is a valid signature for data. |
public static final TinkFipsUtil.AlgorithmFipsCompatibility FIPS
public RsaSsaPssVerifyJce(RSAPublicKey pubKey, Enums.HashType sigHash, Enums.HashType mgf1Hash, int saltLength) throws GeneralSecurityException
GeneralSecurityExceptionpublic void verify(byte[] signature,
byte[] data)
throws GeneralSecurityException
PublicKeyVerifysignature is a valid signature for data.verify in interface PublicKeyVerifyGeneralSecurityException - if signature is not a valid signature for data