Package javax.crypto.spec
Class PSource.PSpecified
- java.lang.Object
-
- javax.crypto.spec.PSource
-
- javax.crypto.spec.PSource.PSpecified
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.crypto.spec.PSource
PSource.PSpecified
-
-
Field Summary
Fields Modifier and Type Field Description static PSource.PSpecifiedDEFAULTThe instance ofPSpecifiedwith the default valuebyte[0]forP
-
Constructor Summary
Constructors Constructor Description PSpecified(byte[] p)Creates a new instance ofPSpecifiedwith the specified parameterP.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getValue()Returns a copy of the value of the parameterP.-
Methods inherited from class javax.crypto.spec.PSource
getAlgorithm
-
-
-
-
Field Detail
-
DEFAULT
public static final PSource.PSpecified DEFAULT
The instance ofPSpecifiedwith the default valuebyte[0]forP
-
-
Constructor Detail
-
PSpecified
public PSpecified(byte[] p)
Creates a new instance ofPSpecifiedwith the specified parameterP.- Parameters:
p- the parameterP.- Throws:
NullPointerException- ifpis null.
-
-