|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
EncryptionMethod
describes the encryption algorithm applied to
the cipher data. If the element is absent, the encryption algorithm must be
known by the recipient or the decryption will fail.
It is defined as follows:
Method Summary | |
void |
addEncryptionMethodInformation(org.w3c.dom.Element information)
Adds encryption method information. |
java.lang.String |
getAlgorithm()
Returns the algorithm applied to the cipher data. |
java.util.Iterator |
getEncryptionMethodInformation()
Returns an iterator over all the additional elements contained in the EncryptionMethod . |
int |
getKeySize()
Returns the key size of the key of the algorithm applied to the cipher data. |
byte[] |
getOAEPparams()
Returns the OAEP parameters of the algorithm applied applied to the cipher data. |
void |
removeEncryptionMethodInformation(org.w3c.dom.Element information)
Removes encryption method information. |
void |
setKeySize(int size)
Sets the size of the key of the algorithm applied to the cipher data. |
void |
setOAEPparams(byte[] parameters)
Sets the OAEP parameters. |
Method Detail |
public java.lang.String getAlgorithm()
public int getKeySize()
public void setKeySize(int size)
size
- the key size.public byte[] getOAEPparams()
public void setOAEPparams(byte[] parameters)
parameters
- the OAEP parameters.public java.util.Iterator getEncryptionMethodInformation()
EncryptionMethod
.
Iterator
over all the additional infomation
about the EncryptionMethod
.public void addEncryptionMethodInformation(org.w3c.dom.Element information)
information
- additional encryption method information.public void removeEncryptionMethodInformation(org.w3c.dom.Element information)
information
- the information to remove from the
EncryptionMethod
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |