pdftools_sdk.crypto.signature_algorithm
Classes
|
Cryptographic signature algorithm |
- class pdftools_sdk.crypto.signature_algorithm.SignatureAlgorithm(value)[source]
Bases:
IntEnum
Cryptographic signature algorithm
- Variables:
RSA_RSA (int) – This is the RSA with PKCS#1 v1.5 algorithm which is widely supported by cryptographic providers.
RSA_SSA_PSS (int) – This algorithm is generally recommended because it is considered a more secure alternative to RSA_RSA. However, it is not supported by all cryptographic providers.
ECDSA (int) – This algorithm is generally recommended for new applications. However, it is not supported by all cryptographic providers.
- RSA_RSA = 1
- RSA_SSA_PSS = 2
- ECDSA = 3