| Constructor and Description | 
|---|
| OpenSSL() | 
| Modifier and Type | Method and Description | 
|---|---|
| static int | addByteArray(byte[] dst,
                        byte[] src,
                        int offset) | 
| static byte[] | allocateByteArray(byte[]... arrays) | 
| static OpenSSLEncryptedContext | buildEncryptedContext(OpenSSLContext context,
                                          int initVectorLength,
                                          byte[] salt,
                                          byte[] data) | 
| static OpenSSLEncryptor | buildOpenSSLEncryptor(EncryptionContext context) | 
| static String | checkBase64(String text) | 
| static byte[] | combineByteArrays(byte[]... arrays) | 
| static byte[] | createSalt()Creates an 8 byte salt | 
| static byte[] | createSalt(int length)Creates a salt of the indicated length | 
| static String | generatePassword()Uses SecureRandom to generate a random 22 character alphanumeric string | 
| static String | generatePassword(int length)Uses SecureRandom to generate a random alphanumeric string of the specified length | 
| static String | generatePassword(List<Character> chars,
                                int length) | 
| static String | generatePassword(List<Character> chars,
                                int length,
                                Random random) | 
| protected static List<Character> | getAlphaNumericCharacters() | 
| static MessageDigest | getMessageDigest(String algorithm) | 
| static boolean | isBase64(char c) | 
| static byte[] | toByteArray(List<Byte> bytes) | 
| static com.google.common.collect.ImmutableList<Byte> | toByteList(byte[] original) | 
| static com.google.common.collect.ImmutableList<Byte> | toByteList(byte[] original,
                    int offset,
                    int length) | 
public OpenSSL()
public static String generatePassword()
public static String generatePassword(int length)
public static String generatePassword(List<Character> chars, int length)
public static String generatePassword(List<Character> chars, int length, Random random)
public static OpenSSLEncryptor buildOpenSSLEncryptor(EncryptionContext context)
public static byte[] combineByteArrays(byte[]... arrays)
public static int addByteArray(byte[] dst, byte[] src, int offset)
public static byte[] allocateByteArray(byte[]... arrays)
public static byte[] createSalt()
public static byte[] createSalt(int length)
public static final byte[] toByteArray(List<Byte> bytes)
public static com.google.common.collect.ImmutableList<Byte> toByteList(byte[] original)
public static com.google.common.collect.ImmutableList<Byte> toByteList(byte[] original, int offset, int length)
public static String checkBase64(String text)
public static boolean isBase64(char c)
public static MessageDigest getMessageDigest(String algorithm)
public static OpenSSLEncryptedContext buildEncryptedContext(OpenSSLContext context, int initVectorLength, byte[] salt, byte[] data)
protected static List<Character> getAlphaNumericCharacters()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.