|
Préférences
Moteurs de recherche
|
|||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.crypto.spec
|
Field Summary | |
---|---|
static OAEPParameterSpec |
DEFAULT
The OAEP parameter set with all default values. |
Constructor Summary | |
---|---|
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 . |
Method Summary | |
---|---|
String |
getDigestAlgorithm()
Returns the message digest algorithm name. |
String |
getMGFAlgorithm()
Returns the mask generation function algorithm name. |
AlgorithmParameterSpec |
getMGFParameters()
Returns the parameters for the mask generation function. |
PSource |
getPSource()
Returns the source of encoding input P. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final OAEPParameterSpec DEFAULT
Constructor Detail |
---|
public OAEPParameterSpec(String mdName, String mgfName, AlgorithmParameterSpec mgfSpec, PSource pSrc)
mdName
, mask generation function
algorithm mgfName
, parameters for the mask
generation function mgfSpec
, and source of
the encoding input P pSrc
.
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.
NullPointerException
- if mdName
,
mgfName
, or pSrc
is null.Method Detail |
---|
public String getDigestAlgorithm()
public String getMGFAlgorithm()
public AlgorithmParameterSpec getMGFParameters()
public PSource getPSource()