Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.crypto.spec.PSource javax.crypto.spec.PSource.PSpecified
public static final class PSource.PSpecified extends PSource
This class is used to explicitly specify the value for encoding input P in OAEP Padding.
Modifier and Type | Class and Description |
---|
Nested classes/interfaces inherited from class javax.crypto.spec.PSource |
---|
PSource.PSpecified |
Modifier and Type | Field and Description |
---|---|
static PSource.PSpecified |
DEFAULT
The encoding input P whose value equals byte[0]. |
Constructor and Description |
---|
PSource.PSpecified(byte[] p)
Constructs the source explicitly with the specified value p as the encoding input P. |
Modifier and Type | Method and Description |
---|---|
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. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.