Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.jcajce.provider.asymmetric.rsa
Class PSSSignatureSpi

java.lang.Object
  |
  +--java.security.SignatureSpi
        |
        +--java.security.Signature
              |
              +--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

public class PSSSignatureSpi
extends java.security.Signature


Inner Class Summary
static class PSSSignatureSpi.nonePSS
           
static class PSSSignatureSpi.PSSwithRSA
           
static class PSSSignatureSpi.SHA1withRSA
           
static class PSSSignatureSpi.SHA1withRSAandSHAKE128
           
static class PSSSignatureSpi.SHA1withRSAandSHAKE256
           
static class PSSSignatureSpi.SHA224withRSA
           
static class PSSSignatureSpi.SHA224withRSAandSHAKE128
           
static class PSSSignatureSpi.SHA224withRSAandSHAKE256
           
static class PSSSignatureSpi.SHA256withRSA
           
static class PSSSignatureSpi.SHA256withRSAandSHAKE128
           
static class PSSSignatureSpi.SHA256withRSAandSHAKE256
           
static class PSSSignatureSpi.SHA3_224withRSA
           
static class PSSSignatureSpi.SHA3_224withRSAandSHAKE128
           
static class PSSSignatureSpi.SHA3_224withRSAandSHAKE256
           
static class PSSSignatureSpi.SHA3_256withRSA
           
static class PSSSignatureSpi.SHA3_256withRSAandSHAKE128
           
static class PSSSignatureSpi.SHA3_256withRSAandSHAKE256
           
static class PSSSignatureSpi.SHA3_384withRSA
           
static class PSSSignatureSpi.SHA3_384withRSAandSHAKE128
           
static class PSSSignatureSpi.SHA3_384withRSAandSHAKE256
           
static class PSSSignatureSpi.SHA3_512withRSA
           
static class PSSSignatureSpi.SHA3_512withRSAandSHAKE128
           
static class PSSSignatureSpi.SHA3_512withRSAandSHAKE256
           
static class PSSSignatureSpi.SHA384withRSA
           
static class PSSSignatureSpi.SHA384withRSAandSHAKE128
           
static class PSSSignatureSpi.SHA384withRSAandSHAKE256
           
static class PSSSignatureSpi.SHA512_224withRSA
           
static class PSSSignatureSpi.SHA512_224withRSAandSHAKE128
           
static class PSSSignatureSpi.SHA512_224withRSAandSHAKE256
           
static class PSSSignatureSpi.SHA512_256withRSA
           
static class PSSSignatureSpi.SHA512_256withRSAandSHAKE128
           
static class PSSSignatureSpi.SHA512_256withRSAandSHAKE256
           
static class PSSSignatureSpi.SHA512withRSA
           
static class PSSSignatureSpi.SHA512withRSAandSHAKE128
           
static class PSSSignatureSpi.SHA512withRSAandSHAKE256
           
static class PSSSignatureSpi.SHAKE128WithRSAPSS
           
static class PSSSignatureSpi.SHAKE256WithRSAPSS
           
 
Fields inherited from class java.security.Signature
SIGN, state, UNINITIALIZED, VERIFY
 
Fields inherited from class java.security.SignatureSpi
appRandom
 
Constructor Summary
protected PSSSignatureSpi(java.lang.String name, AsymmetricBlockCipher signer, Digest digest)
           
protected PSSSignatureSpi(java.lang.String name, AsymmetricBlockCipher signer, Digest digest, boolean isRaw)
           
protected PSSSignatureSpi(java.lang.String name, AsymmetricBlockCipher signer, Digest digest, Digest mgfDigest)
           
 
Method Summary
protected  java.lang.Object engineGetParameter(java.lang.String param)
           
protected  java.security.AlgorithmParameters engineGetParameters()
           
protected  void engineInitSign(java.security.PrivateKey privateKey)
           
protected  void engineInitSign(java.security.PrivateKey privateKey, java.security.SecureRandom random)
           
protected  void engineInitVerify(java.security.PublicKey publicKey)
           
protected  void engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
           
protected  void engineSetParameter(java.lang.String param, java.lang.Object value)
          Deprecated. replaced with
protected  byte[] engineSign()
           
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.Signature
clone, getAlgorithm, getInstance, getInstance, getParameter, getProvider, initSign, initSign, initVerify, initVerify, setParameter, setParameter, sign, sign, toString, update, update, update, verify
 
Methods inherited from class java.security.SignatureSpi
engineSign
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PSSSignatureSpi

protected PSSSignatureSpi(java.lang.String name,
                          AsymmetricBlockCipher signer,
                          Digest digest)

PSSSignatureSpi

protected PSSSignatureSpi(java.lang.String name,
                          AsymmetricBlockCipher signer,
                          Digest digest,
                          Digest mgfDigest)

PSSSignatureSpi

protected PSSSignatureSpi(java.lang.String name,
                          AsymmetricBlockCipher signer,
                          Digest digest,
                          boolean isRaw)
Method Detail

engineInitVerify

protected void engineInitVerify(java.security.PublicKey publicKey)
                         throws java.security.InvalidKeyException
Overrides:
engineInitVerify in class java.security.SignatureSpi

engineInitSign

protected void engineInitSign(java.security.PrivateKey privateKey,
                              java.security.SecureRandom random)
                       throws java.security.InvalidKeyException
Overrides:
engineInitSign in class java.security.SignatureSpi

engineInitSign

protected void engineInitSign(java.security.PrivateKey privateKey)
                       throws java.security.InvalidKeyException
Overrides:
engineInitSign in class java.security.SignatureSpi

engineUpdate

protected void engineUpdate(byte b)
                     throws java.security.SignatureException
Overrides:
engineUpdate in class java.security.SignatureSpi

engineUpdate

protected void engineUpdate(byte[] b,
                            int off,
                            int len)
                     throws java.security.SignatureException
Overrides:
engineUpdate in class java.security.SignatureSpi

engineSign

protected byte[] engineSign()
                     throws java.security.SignatureException
Overrides:
engineSign in class java.security.SignatureSpi

engineVerify

protected boolean engineVerify(byte[] sigBytes)
                        throws java.security.SignatureException
Overrides:
engineVerify in class java.security.SignatureSpi

engineSetParameter

protected void engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
                           throws java.security.InvalidParameterException
Overrides:
engineSetParameter in class java.security.SignatureSpi

engineGetParameters

protected java.security.AlgorithmParameters engineGetParameters()

engineSetParameter

protected void engineSetParameter(java.lang.String param,
                                  java.lang.Object value)
Deprecated. replaced with

Overrides:
engineSetParameter in class java.security.SignatureSpi

engineGetParameter

protected java.lang.Object engineGetParameter(java.lang.String param)
Overrides:
engineGetParameter in class java.security.SignatureSpi

Bouncy Castle Cryptography Library 1.77.0