| Package | Description |
|---|---|
| org.xipki.password |
| Modifier and Type | Method and Description |
|---|---|
static PBEAlgo |
PBEAlgo.forCode(int code) |
static PBEAlgo |
PBEAlgo.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PBEAlgo[] |
PBEAlgo.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
PasswordBasedEncryption.decrypt(PBEAlgo algo,
byte[] cipherTextWithIv,
char[] password,
int iterationCount,
byte[] salt) |
static byte[] |
PasswordBasedEncryption.encrypt(PBEAlgo algo,
byte[] plaintext,
char[] password,
int iterationCount,
byte[] salt)
Encrypts the message using password based encryption.
|
static String |
PBEPasswordService.encryptPassword(PBEAlgo algo,
int iterationCount,
char[] masterPassword,
char[] password) |
Copyright © 2017. All rights reserved.