Package javax.crypto.spec
Class PSource
java.lang.Object
javax.crypto.spec.PSource
- Direct Known Subclasses:
PSource.PSpecified
public class PSource extends Object
The source of the label
L as specified in PKCS #1.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPSource.PSpecifiedThe explicit specification of the parameterPused in the source algorithm. -
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringgetAlgorithm()Returns the source algorithm identifier.
-
Constructor Details
-
PSource
Creates a newPSourceinstance with the specified source algorithm identifier.- Parameters:
pSrcName- the source algorithm identifier.- Throws:
NullPointerException- if pSrcName is null.
-
-
Method Details
-
getAlgorithm
Returns the source algorithm identifier.- Returns:
- the source algorithm identifier.
-