Module webpki::signed_data
source · Structs§
- Algorithm
Identifier π - Owned
Signed πData 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.
- Signed
Data πX.509 certificates and related items that are signed are almost always encoded in the format βtbs||signatureAlgorithm||signatureβ. This structure captures this pattern. - Subject
Public πKeyInfo
Constants§
- ECDS
A_ πP256 - ECDS
A_ πP384 - ECDS
A_ πSHA256 - ECDS
A_ π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 Verifysigned_data
using the public key in the DER-encoded SubjectPublicKeyInfospki
using one of the algorithms insupported_algorithms
.