Skip to main content

Module alg_id

Module alg_id 

Available on crate feature crypto only.
Expand description

The PKIX AlgorithmIdentifier type, and common values.

If you need to use an AlgorithmIdentifier not defined here, you can define it locally.

Structs§

AlgorithmIdentifier
A DER encoding of the PKIX AlgorithmIdentifier type:

Constants§

ECDSA_P256
AlgorithmIdentifier for id-ecPublicKey with named curve secp256r1.
ECDSA_P384
AlgorithmIdentifier for id-ecPublicKey with named curve secp384r1.
ECDSA_P521
AlgorithmIdentifier for id-ecPublicKey with named curve secp521r1.
ECDSA_P256K1
AlgorithmIdentifier for id-ecPublicKey with named curve secp256k1.
ECDSA_SHA256
AlgorithmIdentifier for ecdsa-with-SHA256.
ECDSA_SHA384
AlgorithmIdentifier for ecdsa-with-SHA384.
ECDSA_SHA512
AlgorithmIdentifier for ecdsa-with-SHA512.
ED448
AlgorithmIdentifier for ED448.
ED25519
AlgorithmIdentifier for ED25519.
ML_DSA_44
AlgorithmIdentifier for id-ml-dsa-44.
ML_DSA_65
AlgorithmIdentifier for id-ml-dsa-65.
ML_DSA_87
AlgorithmIdentifier for id-ml-dsa-87.
RSA_ENCRYPTION
AlgorithmIdentifier for rsaEncryption.
RSA_PKCS1_SHA256
AlgorithmIdentifier for sha256WithRSAEncryption.
RSA_PKCS1_SHA384
AlgorithmIdentifier for sha384WithRSAEncryption.
RSA_PKCS1_SHA512
AlgorithmIdentifier for sha512WithRSAEncryption.
RSA_PSS_SHA256
AlgorithmIdentifier for rsassaPss with:
RSA_PSS_SHA384
AlgorithmIdentifier for rsassaPss with:
RSA_PSS_SHA512
AlgorithmIdentifier for rsassaPss with: