klyn.cryptography.RSAPKCS1Signature.RSAPKCS1Signature
constructor

    public RSAPKCS1Signature(hash as Object) throws CryptoException:

Description

Creates an RSA PKCS#1 v1.5 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 = RSAPKCS1Signature(SHA512()) print(signature.hashAlgorithm) ```