Module webpki::signed_data
source · Structs§
- AlgorithmIdentifier π
- OwnedSignedData πX.509 certificates and related items that are signed are almost always encoded in the format βtbs||signatureAlgorithm||signatureβ. This structure captures this pattern as an owned data type.
- A signature algorithm.
- SignedData πX.509 certificates and related items that are signed are almost always encoded in the format βtbs||signatureAlgorithm||signatureβ. This structure captures this pattern.
- SubjectPublicKeyInfo π
Constants§
- ECDSA_P256 π
- ECDSA_P384 π
- ECDSA_SHA256 π
- ECDSA_SHA384 π
- ED_25519 π
- RSA_ENCRYPTION π
- RSA_PKCS1_SHA256 π
- RSA_PKCS1_SHA384 π
- RSA_PKCS1_SHA512 π
- RSA_PSS_SHA256 π
- RSA_PSS_SHA384 π
- RSA_PSS_SHA512 π
Statics§
- ECDSA signatures using the P-256 curve and SHA-256.
- ECDSA signatures using the P-256 curve and SHA-384. Deprecated.
- ECDSA signatures using the P-384 curve and SHA-256. Deprecated.
- ECDSA signatures using the P-384 curve and SHA-384.
- ED25519 signatures according to RFC 8410
- RSA PKCS#1 1.5 signatures using SHA-256 for keys of 2048-8192 bits.
- RSA PKCS#1 1.5 signatures using SHA-384 for keys of 2048-8192 bits.
- RSA PKCS#1 1.5 signatures using SHA-512 for keys of 2048-8192 bits.
- RSA PKCS#1 1.5 signatures using SHA-384 for keys of 3072-8192 bits.
- RSA PSS signatures using SHA-256 for keys of 2048-8192 bits and of type rsaEncryption; see RFC 4055 Section 1.2.
- RSA PSS signatures using SHA-384 for keys of 2048-8192 bits and of type rsaEncryption; see RFC 4055 Section 1.2.
- RSA PSS signatures using SHA-512 for keys of 2048-8192 bits and of type rsaEncryption; see RFC 4055 Section 1.2.
Functions§
- verify_signature π
- verify_signed_data πVerify
signed_data
using the public key in the DER-encoded SubjectPublicKeyInfospki
using one of the algorithms insupported_algorithms
.