public final class OpenSSLContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenSSLContext.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OpenSSLContext |
buildDefaultOpenSSLContext()
Returns a context for 128 bit AES encryption compatible with OpenSSL
|
static OpenSSLContext.Builder |
builder() |
static OpenSSLContext |
buildOpenSSLContext(EncryptionStrength strength)
EncryptionStrength.STRONG_ENCRYPTION_STRENGTH means AES 256, otherwise AES 128. |
String |
getAlgorithm() |
String |
getDigestAlgorithm() |
int |
getIterations() |
int |
getKeySizeBits() |
String |
getSaltPrefix() |
int |
getSaltSize() |
String |
getTransformation() |
public static OpenSSLContext buildOpenSSLContext(EncryptionStrength strength)
EncryptionStrength.STRONG_ENCRYPTION_STRENGTH means AES 256, otherwise AES 128.
WARNING: AES 256 causes an exception to be thrown unless you've installed java's "unlimited strength jurisdiction policy files"
public static OpenSSLContext buildDefaultOpenSSLContext()
public static OpenSSLContext.Builder builder()
public int getIterations()
public int getSaltSize()
public int getKeySizeBits()
public String getTransformation()
public String getDigestAlgorithm()
public String getAlgorithm()
public String getSaltPrefix()
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.