PSource
public static final class PSource.PSpecified extends PSource
PSource.PSpecified
Modifier and Type | Field | Description |
---|---|---|
static final PSource.PSpecified |
DEFAULT |
The encoding input P whose value equals byte[0]. |
Constructor | Description |
---|---|
PSpecified |
Constructs the source explicitly with the specified value p as the encoding input P. |
Modifier and Type | Method | Description |
---|---|---|
byte[] |
getValue() |
Returns the value of encoding input P. |
getAlgorithm
public static final PSource.PSpecified DEFAULT
public PSpecified(byte[] p)
p
as the encoding input P. Note:p
- the value of the encoding input. The contents of the array are copied to protect against subsequent modification.NullPointerException
- if p
is null.public byte[] getValue()
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/javax/crypto/spec/PSource.PSpecified.html