pub const RSA_PSS_SHA256: AlgorithmIdentifier;
Expand description
AlgorithmIdentifier for rsassaPss
with:
- hashAlgorithm: sha256
- maskGenAlgorithm: mgf1 with sha256
- saltLength: 32
This is:
# rsassa-pss
OBJECT_IDENTIFIER { 1.2.840.113549.1.1.10 }
SEQUENCE {
# hashAlgorithm:
[0] {
SEQUENCE {
# sha256
OBJECT_IDENTIFIER { 2.16.840.1.101.3.4.2.1 }
NULL {}
}
}
# maskGenAlgorithm:
[1] {
SEQUENCE {
# mgf1
OBJECT_IDENTIFIER { 1.2.840.113549.1.1.8 }
SEQUENCE {
# sha256
OBJECT_IDENTIFIER { 2.16.840.1.101.3.4.2.1 }
NULL {}
}
}
}
# saltLength:
[2] {
INTEGER { 32 }
}
}
See https://datatracker.ietf.org/doc/html/rfc4055#section-3.1 for the meaning of the context-specific tags.