Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.crypto.spec.PSource
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()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.