
AI_PKCS_OAEPRecodeBER
encoding of the default algorithm is given first, followed by the general syntax.
--Default Algorithm Identifier for
--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
{sha1Identifier,
mgf1SHA1Identifier, pSpecifiedEmptyIdentifier
}
}
The general syntax is:
{ | ||
algorithm | OBJECT | IDENTIFIER |
parameters | ||
} |
|
|
--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
iso(1)
--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
iso(1)
1 6 2 | R S A B S A F E C r y p t o - C L i b r a r y R e f e r e n c e M a n u a l |