AI_PKCS_OAEPRecodeBER
--The identifier says that the algorithm by which the P
--string for
--equal to the contents of the OCTET STRING which is
--the parameter for this AlgorithmIdentifier.
--The DER for this in hexadecimal is:
--06 09
--2A 86 48 86 F7 0D 01 01 09
iso(1)
--Identifier for the SHA1 digest function.
--The DER for this in hexadecimal is:
--06 05
--2B 0E 03 02 1A
iso(1)
--Syntax of AlgorithmIdentifier.parameters for
--Note that the tags in this Sequence are explicit.
--The DER encoding of DEFAULT values is to omit them.
|
| |
SEQUENCE { | ||
hashFunc | [0] | AlgorithmIdentifier { |
{oaepDigestAlgorithms} } | ||
| DEFAULT sha1Identifier, | |
maskGenFunc | [1] | AlgorithmIdentifier { |
{pkcs1MGFAlgorithms} } | ||
| DEFAULT mgf1SHA1Identifier, | |
pSourceFunc | [2] | AlgorithmIdentifier { |
{pkcs1PGenAlgorithms} }
DEFAULT pSpecifiedEmptyIdentifier
}
--Algorithm Identifier for SHA1, which is the OAEP default.
sha1Identifier ::= AlgorithmIdentifier {
--Default AlgorithmIdentifier for id-RSAES-OAEP.maskGenFunc.
C h a p t e r 2 A l g o r i t h m I n f o Ty p e s | 163 |