mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8205445: Add RSASSA-PSS Signature support to SunMSCAPI
Reviewed-by: xuelei
This commit is contained in:
parent
5f55147841
commit
578576f523
7 changed files with 731 additions and 9 deletions
|
@ -132,7 +132,7 @@ public class RSAPSSSignature extends SignatureSpi {
|
|||
}
|
||||
this.pubKey = (RSAPublicKey) isValid((RSAKey)publicKey);
|
||||
this.privKey = null;
|
||||
|
||||
resetDigest();
|
||||
}
|
||||
|
||||
// initialize for signing. See JCA doc
|
||||
|
@ -153,6 +153,7 @@ public class RSAPSSSignature extends SignatureSpi {
|
|||
this.pubKey = null;
|
||||
this.random =
|
||||
(random == null? JCAUtil.getSecureRandom() : random);
|
||||
resetDigest();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue