public class PSource
extends java.lang.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(java.lang.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 |
---|---|
java.lang.String |
getAlgorithm()
Returns the PSource algorithm name.
|
protected PSource(java.lang.String pSrcName)
pSrcName
- the algorithm for the source of the encoding input P.java.lang.NullPointerException
- if pSrcName
is null.