| Package | Description |
|---|---|
| org.apache.commons.ssl |
| Modifier and Type | Method and Description |
|---|---|
static DerivedKey |
OpenSSL.deriveKey(char[] password,
byte[] salt,
int keySize,
boolean des2) |
static DerivedKey |
OpenSSL.deriveKey(char[] password,
byte[] salt,
int keySize,
int ivSize,
boolean des2) |
static DerivedKey |
PKCS8Key.deriveKeyPKCS12(char[] password,
byte[] salt,
int iterations,
int keySizeInBits,
int ivSizeInBits,
MessageDigest md) |
static DerivedKey |
PKCS8Key.deriveKeyV1(byte[] password,
byte[] salt,
int iterations,
int keySizeInBits,
int ivSizeInBits,
MessageDigest md) |
static DerivedKey |
PKCS8Key.deriveKeyV2(byte[] password,
byte[] salt,
int iterations,
int keySizeInBits,
int ivSizeInBits,
Mac mac) |
| Modifier and Type | Method and Description |
|---|---|
static PKCS8Key.DecryptResult |
PKCS8Key.decrypt(String cipher,
String mode,
DerivedKey dk,
boolean des2,
byte[] iv,
byte[] encryptedBytes) |
static Cipher |
PKCS8Key.generateCipher(String cipher,
String mode,
DerivedKey dk,
boolean des2,
byte[] iv,
boolean decryptMode) |
Copyright © 2019. All rights reserved.