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

- hash Digest algorithm instance.

Throws

- CryptoException when the digest algorithm is unsupported. ```klyn import klyn.cryptography signature = RSAPSSSignature(SHA512()) print(signature.hashAlgorithm) ```