public OAEPParameterSpec (String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, PSource pSrc)

Constructs a parameter set for OAEP padding as defined in the PKCS #1 standard using the specified message digest algorithm mdName, mask generation function algorithm mgfName, parameters for the mask generation function mgfSpec, and source of the encoding input P pSrc.

Parameters:
mdName    the algorithm name for the message digest.
mgfName    the algorithm name for the mask generation function.
mgfSpec    the parameters for the mask generation function. If null is specified, null will be returned by getMGFParameters().
pSrc    the source of the encoding input P.

Exceptions:
NullPointerException    if mdName, mgfName, or pSrc is null.