final class PEMUtilities
extends java.lang.Object
Constructor and Description |
---|
PEMUtilities() |
Modifier and Type | Method and Description |
---|---|
(package private) static byte[] |
crypt(boolean encrypt,
java.lang.String provider,
byte[] bytes,
char[] password,
java.lang.String dekAlgName,
byte[] iv) |
private static javax.crypto.SecretKey |
getKey(char[] password,
java.lang.String algorithm,
int keyLength,
byte[] salt) |
private static javax.crypto.SecretKey |
getKey(char[] password,
java.lang.String algorithm,
int keyLength,
byte[] salt,
boolean des2) |
static byte[] crypt(boolean encrypt, java.lang.String provider, byte[] bytes, char[] password, java.lang.String dekAlgName, byte[] iv) throws java.io.IOException
java.io.IOException
private static javax.crypto.SecretKey getKey(char[] password, java.lang.String algorithm, int keyLength, byte[] salt) throws java.io.IOException
java.io.IOException
private static javax.crypto.SecretKey getKey(char[] password, java.lang.String algorithm, int keyLength, byte[] salt, boolean des2) throws java.io.IOException
java.io.IOException
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.