klyn.cryptography.RSAPSSSignature.RSAPSSSignature
constructor
public RSAPSSSignature(hash as Object) throws CryptoException:
Description

Creates an RSA-PSS signature bound to the given digest algorithm.

Parameters
ParameterDescription
hashDigest algorithm instance.
Throws
  • CryptoException when the digest algorithm is unsupported.
Example
import klyn.cryptography

signature = RSAPSSSignature(SHA512())
print(signature.hashAlgorithm)