public class OpenSSLReal
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
OpenSSLReal.Callable |
static class |
OpenSSLReal.OpenSSLModule |
static interface |
OpenSSLReal.Runnable |
Constructor and Description |
---|
OpenSSLReal() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
bcExceptionMessage(java.lang.NoClassDefFoundError ncdfe) |
static java.lang.String |
bcExceptionMessage(java.security.NoSuchProviderException nspe) |
static void |
createOpenSSL(Ruby runtime) |
static void |
doWithBCProvider(OpenSSLReal.Runnable toRun) |
static javax.crypto.Cipher |
getCipherBC(java.lang.String algorithm) |
static java.security.MessageDigest |
getMessageDigestBC(java.lang.String algorithm) |
static javax.crypto.SecretKeyFactory |
getSecretKeyFactoryBC(java.lang.String algorithm) |
static java.lang.Object |
getWithBCProvider(OpenSSLReal.Callable toCall) |
static java.security.cert.CertificateFactory |
getX509CertificateFactoryBC() |
public static void doWithBCProvider(OpenSSLReal.Runnable toRun) throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
public static java.lang.Object getWithBCProvider(OpenSSLReal.Callable toCall) throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
public static java.lang.String bcExceptionMessage(java.security.NoSuchProviderException nspe)
public static java.lang.String bcExceptionMessage(java.lang.NoClassDefFoundError ncdfe)
public static void createOpenSSL(Ruby runtime)
public static javax.crypto.Cipher getCipherBC(java.lang.String algorithm) throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
public static javax.crypto.SecretKeyFactory getSecretKeyFactoryBC(java.lang.String algorithm) throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
public static java.security.MessageDigest getMessageDigestBC(java.lang.String algorithm) throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
public static java.security.cert.CertificateFactory getX509CertificateFactoryBC() throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
Copyright © 2002-2009 JRuby Team. All Rights Reserved.