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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields inherited from class java.security.SignatureSpi
appRandom -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPSSSignatureSpi(AsymmetricBlockCipher signer, PSSParameterSpec paramSpecArg) protectedPSSSignatureSpi(AsymmetricBlockCipher signer, PSSParameterSpec baseParamSpec, boolean isRaw) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectengineGetParameter(String param) protected AlgorithmParametersprotected voidengineInitSign(PrivateKey privateKey) protected voidengineInitSign(PrivateKey privateKey, SecureRandom random) protected voidengineInitVerify(PublicKey publicKey) protected voidengineSetParameter(String param, Object value) Deprecated.replaced with engineSetParameter(java.security.spec.AlgorithmParameterSpec)protected voidprotected byte[]protected voidengineUpdate(byte b) protected voidengineUpdate(byte[] b, int off, int len) protected booleanengineVerify(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:
engineInitVerifyin classSignatureSpi- Throws:
InvalidKeyException
-
engineInitSign
protected void engineInitSign(PrivateKey privateKey, SecureRandom random) throws InvalidKeyException - Overrides:
engineInitSignin classSignatureSpi- Throws:
InvalidKeyException
-
engineInitSign
- Specified by:
engineInitSignin classSignatureSpi- Throws:
InvalidKeyException
-
engineUpdate
- Specified by:
engineUpdatein classSignatureSpi- Throws:
SignatureException
-
engineUpdate
- Specified by:
engineUpdatein classSignatureSpi- Throws:
SignatureException
-
engineSign
- Specified by:
engineSignin classSignatureSpi- Throws:
SignatureException
-
engineVerify
- Specified by:
engineVerifyin classSignatureSpi- Throws:
SignatureException
-
engineSetParameter
protected void engineSetParameter(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException - Overrides:
engineSetParameterin classSignatureSpi- Throws:
InvalidAlgorithmParameterException
-
engineGetParameters
- Overrides:
engineGetParametersin classSignatureSpi
-
engineSetParameter
Deprecated.- Specified by:
engineSetParameterin classSignatureSpi
-
engineGetParameter
- Specified by:
engineGetParameterin classSignatureSpi
-