|
Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1.9) E56328-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.pii.PIISecurity
public class PIISecurity
Constructor Summary | |
---|---|
PIISecurity() |
Method Summary | |
---|---|
static java.lang.String |
decrypt(java.lang.String ciphertext, char[] password, java.lang.String pbkdfAlgo, java.lang.String pbkdfSalt, int pbkdfIteration, int keySize, java.lang.String encAlg) Converts cipher text string to plain text using password based key derivation function (PBKDF2). |
static java.lang.String |
decrypt(java.lang.String ciphertext, javax.crypto.SecretKey key, java.lang.String encAlg) Converts cipher text string to plain text using key derived from password based key derivation function (PBKDF2). |
static java.lang.String |
encrypt(java.lang.String plaintext, char[] password, java.lang.String pbkdfAlgo, java.lang.String pbkdfSalt, int pbkdfIteration, int keySize, java.lang.String encAlg) Converts plain text string to cipher text using password based key derivation function (PBKDF2). |
static java.lang.String |
encrypt(java.lang.String plaintext, javax.crypto.SecretKey key, java.lang.String encAlg) Converts plain text string to cipher text using key derived from password based key derivation function (PBKDF2). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PIISecurity()
Method Detail |
---|
public static java.lang.String encrypt(java.lang.String plaintext, char[] password, java.lang.String pbkdfAlgo, java.lang.String pbkdfSalt, int pbkdfIteration, int keySize, java.lang.String encAlg)
plaintext
- text to encryptpassword
- password for key derivationpbkdfAlgo
- key derivation algorithm which should be PBKDF2pbkdfSalt
- non-null and non-empty salt for key derivationpbkdfIteration
- iteration count for key derivationkeySize
- size of key for key derivationencAlg
- data encryption algorithm. it should be in the form: "algorithm/mode/padding" for ex. AES/CBC/PKCS5Paddingpublic static java.lang.String encrypt(java.lang.String plaintext, javax.crypto.SecretKey key, java.lang.String encAlg)
plaintext
- text to encryptkey
- password based key derived using PBKDF2encAlg
- data encryption algorithm. it should be in the form: "algorithm/mode/padding" for ex. AES/CBC/PKCS5Paddingpublic static java.lang.String decrypt(java.lang.String ciphertext, char[] password, java.lang.String pbkdfAlgo, java.lang.String pbkdfSalt, int pbkdfIteration, int keySize, java.lang.String encAlg)
ciphertext
- text to decryptpassword
- password for key derivationpbkdfAlgo
- key derivation algorithm which should be PBKDF2pbkdfSalt
- non-null and non-empty salt for key derivationpbkdfIteration
- iteration count for key derivationkeySize
- size of key for key derivationencAlg
- data encryption algorithm. it should be in the form: "algorithm/mode/padding" for ex. AES/CBC/PKCS5Paddingpublic static java.lang.String decrypt(java.lang.String ciphertext, javax.crypto.SecretKey key, java.lang.String encAlg)
ciphertext
- text to decryptkey
- password based key derived from PBKDF2encAlg
- data encryption algorithm. it should be in the form: "algorithm/mode/padding" for ex. AES/CBC/PKCS5Padding
|
Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1.9) E56328-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |