|
XML Digital Signature and Encryption, 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.crypto.enc.spec.RSAOAEPParameterSpec
public final class RSAOAEPParameterSpec
Parameters for the XML Encryption RSA-OAEP algorithm.
EncryptionMethod
Constructor Summary | |
---|---|
RSAOAEPParameterSpec(DigestMethod digestMethod)
Creates an RSAOAEPParameterSpec with the specified digest
method. |
|
RSAOAEPParameterSpec(DigestMethod digestMethod,
byte[] oaepParams)
Creates an RSAOAEPParameterSpec with the specified digest
method and OAEP encoding parameters. |
Method Summary | |
---|---|
DigestMethod |
getDigestMethod()
Returns the digest method. |
byte[] |
getOAEPParams()
Returns the encoded OAEP parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSAOAEPParameterSpec(DigestMethod digestMethod)
RSAOAEPParameterSpec
with the specified digest
method.
digestMethod
- the digest method
java.lang.NullPointerException
- if digest method is null
public RSAOAEPParameterSpec(DigestMethod digestMethod, byte[] oaepParams)
RSAOAEPParameterSpec
with the specified digest
method and OAEP encoding parameters.
digestMethod
- the digest methodoaepParams
- the encoded OAEP parameters. The array is cloned to
prevent subsequent modification.
java.lang.NullPointerException
- if digest method or oaepParams
is null
Method Detail |
---|
public DigestMethod getDigestMethod()
public byte[] getOAEPParams()
null
if not
specified
|
XML Digital Signature and Encryption, 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |