|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object extended by javax.crypto.spec.PSource extended by javax.crypto.spec.PSource.PSpecified
public static final class PSource.PSpecified
This class is used to explicitly specify the value for encoding input P in OAEP Padding.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.crypto.spec.PSource |
---|
PSource.PSpecified |
Field Summary | |
---|---|
static PSource.PSpecified |
DEFAULT
The encoding input P whose value equals byte[0]. |
Constructor Summary | |
---|---|
PSource.PSpecified(byte[] p)
Constructs the source explicitly with the specified value p as the encoding input P. |
Method Summary | |
---|---|
byte[] |
getValue()
Returns the value of encoding input P. |
Methods inherited from class javax.crypto.spec.PSource |
---|
getAlgorithm |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PSource.PSpecified DEFAULT
Constructor Detail |
---|
public PSource.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.Method Detail |
---|
public byte[] getValue()
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.