Class PSSSignatureSpi
java.lang.Object
java.security.SignatureSpi
org.bouncycastle.jcajce.provider.asymmetric.rsa.PSSSignatureSpi
- Direct Known Subclasses:
PSSSignatureSpi.nonePSS
,PSSSignatureSpi.PSSwithRSA
,PSSSignatureSpi.SHA1withRSA
,PSSSignatureSpi.SHA1withRSAandSHAKE128
,PSSSignatureSpi.SHA1withRSAandSHAKE256
,PSSSignatureSpi.SHA224withRSA
,PSSSignatureSpi.SHA224withRSAandSHAKE128
,PSSSignatureSpi.SHA224withRSAandSHAKE256
,PSSSignatureSpi.SHA256withRSA
,PSSSignatureSpi.SHA256withRSAandSHAKE128
,PSSSignatureSpi.SHA256withRSAandSHAKE256
,PSSSignatureSpi.SHA3_224withRSA
,PSSSignatureSpi.SHA3_224withRSAandSHAKE128
,PSSSignatureSpi.SHA3_224withRSAandSHAKE256
,PSSSignatureSpi.SHA3_256withRSA
,PSSSignatureSpi.SHA3_256withRSAandSHAKE128
,PSSSignatureSpi.SHA3_256withRSAandSHAKE256
,PSSSignatureSpi.SHA3_384withRSA
,PSSSignatureSpi.SHA3_384withRSAandSHAKE128
,PSSSignatureSpi.SHA3_384withRSAandSHAKE256
,PSSSignatureSpi.SHA3_512withRSA
,PSSSignatureSpi.SHA3_512withRSAandSHAKE128
,PSSSignatureSpi.SHA3_512withRSAandSHAKE256
,PSSSignatureSpi.SHA384withRSA
,PSSSignatureSpi.SHA384withRSAandSHAKE128
,PSSSignatureSpi.SHA384withRSAandSHAKE256
,PSSSignatureSpi.SHA512_224withRSA
,PSSSignatureSpi.SHA512_224withRSAandSHAKE128
,PSSSignatureSpi.SHA512_224withRSAandSHAKE256
,PSSSignatureSpi.SHA512_256withRSA
,PSSSignatureSpi.SHA512_256withRSAandSHAKE128
,PSSSignatureSpi.SHA512_256withRSAandSHAKE256
,PSSSignatureSpi.SHA512withRSA
,PSSSignatureSpi.SHA512withRSAandSHAKE128
,PSSSignatureSpi.SHA512withRSAandSHAKE256
,PSSSignatureSpi.SHAKE128WithRSAPSS
,PSSSignatureSpi.SHAKE256WithRSAPSS
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
-
Field Summary
Fields inherited from class java.security.SignatureSpi
appRandom
-
Constructor Summary
ModifierConstructorDescriptionprotected
PSSSignatureSpi
(AsymmetricBlockCipher signer, PSSParameterSpec paramSpecArg) protected
PSSSignatureSpi
(AsymmetricBlockCipher signer, PSSParameterSpec baseParamSpec, boolean isRaw) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
engineGetParameter
(String param) protected AlgorithmParameters
protected void
engineInitSign
(PrivateKey privateKey) protected void
engineInitSign
(PrivateKey privateKey, SecureRandom random) protected void
engineInitVerify
(PublicKey publicKey) protected void
engineSetParameter
(String param, Object value) Deprecated.replaced with engineSetParameter(java.security.spec.AlgorithmParameterSpec)protected void
protected byte[]
protected void
engineUpdate
(byte b) protected void
engineUpdate
(byte[] b, int off, int len) protected boolean
engineVerify
(byte[] sigBytes) Methods inherited from class java.security.SignatureSpi
clone, engineSign, engineUpdate, engineVerify
-
Constructor Details
-
PSSSignatureSpi
-
PSSSignatureSpi
protected PSSSignatureSpi(AsymmetricBlockCipher signer, PSSParameterSpec baseParamSpec, boolean isRaw)
-
-
Method Details
-
engineInitVerify
- Specified by:
engineInitVerify
in classSignatureSpi
- Throws:
InvalidKeyException
-
engineInitSign
protected void engineInitSign(PrivateKey privateKey, SecureRandom random) throws InvalidKeyException - Overrides:
engineInitSign
in classSignatureSpi
- Throws:
InvalidKeyException
-
engineInitSign
- Specified by:
engineInitSign
in classSignatureSpi
- Throws:
InvalidKeyException
-
engineUpdate
- Specified by:
engineUpdate
in classSignatureSpi
- Throws:
SignatureException
-
engineUpdate
- Specified by:
engineUpdate
in classSignatureSpi
- Throws:
SignatureException
-
engineSign
- Specified by:
engineSign
in classSignatureSpi
- Throws:
SignatureException
-
engineVerify
- Specified by:
engineVerify
in classSignatureSpi
- Throws:
SignatureException
-
engineSetParameter
protected void engineSetParameter(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException - Overrides:
engineSetParameter
in classSignatureSpi
- Throws:
InvalidAlgorithmParameterException
-
engineGetParameters
- Overrides:
engineGetParameters
in classSignatureSpi
-
engineSetParameter
Deprecated.- Specified by:
engineSetParameter
in classSignatureSpi
-
engineGetParameter
- Specified by:
engineGetParameter
in classSignatureSpi
-