Chapter 2 Algorithm Info Types 153

AI_PKCS_OAEP_RSAPublicBERencoding of the default algorithm is given first, followed by the general syntax.
The general syntax is:
-- Default Algorithm Identifier for RSAES-OAEP.
-- The DER Encoding of this is in hexadecimal given below.
-- Notice that the DER encoding of the default parameters
-- is just an empty sequence.
-- 30 0D
-- 06 09
-- 2A 86 48 86 F7 0D 01 01 07
-- 30 00
--
RSAES-OAEP-Default-Identifier ::= AlgorithmIdentifier {
id-RSAES-OAEP,
{ sha1Identifier,
mgf1SHA1Identifier,
pSpecifiedEmptyIdentifier
}
}
RSAES-OAEP ::= Sequence {
algorithm OBJECT IDENTIFIER (id-RSAES-OAEP),
parameters RSAES-OAEP-params
}
-- Identifier for PKCS #1 v2.0 OAEP.
-- The DER for this in hexadecimal is:
-- 06 09
-- 2A 86 48 86 F7 0D 01 01 07
--
id-RSAES-OAEP OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549)
pkcs(1) pkcs-1(1) RSAES-OAEP(7)}
-- Identifier for the PKCS #1 v2.0 mask generation function,
-- which takes a hash function AlgID as a parameter.
-- The DER for this in hexadecimal is:
-- 06 09
-- 2A 86 48 86 F7 0D 01 01 08
--