public class PSource extends Object
PSourceAlgorithm ::= AlgorithmIdentifier { {PKCS1PSourceAlgorithms} }where
PKCS1PSourceAlgorithms ALGORITHM-IDENTIFIER ::= { { OID id-pSpecified PARAMETERS EncodingParameters }, ... -- Allows for future expansion -- } EncodingParameters ::= OCTET STRING(SIZE(0..MAX))
Modifier and Type | Class and Description |
---|---|
static class |
PSource.PSpecified
This class is used to explicitly specify the value for encoding input P in OAEP Padding.
|
Modifier | Constructor and Description |
---|---|
protected |
PSource(String pSrcName)
Constructs a source of the encoding input P for OAEP padding as defined in the PKCS #1 standard using the
specified PSource algorithm.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Returns the PSource algorithm name.
|
protected PSource(String pSrcName)
pSrcName
- the algorithm for the source of the encoding input P.NullPointerException
- if pSrcName
is null.public String getAlgorithm()