public final class BouncyCastleUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Provider |
getBcProviderJce()
Get the BouncyCastle Java Crypto Extensions provider, or throw an exception if it is unavailable.
|
static Provider |
getBcProviderJsse()
Get the BouncyCastle Java Secure Socket Extensions provider, or throw an exception if it is unavailable.
|
static boolean |
isBcJsseInUse(SSLEngine engine)
Indicates whether the given SSLEngine is implemented by BouncyCastle.
|
static boolean |
isBcPkixAvailable()
Indicate whether the BouncyCastle Public-Key Infrastructure utilities are available.
|
static boolean |
isBcProvAvailable()
Indicate whether the BouncyCastle Java Crypto Extensions provider is available.
|
static boolean |
isBcTlsAvailable()
Indicate whether the BouncyCastle Java Secure Socket Extensions provider is available.
|
static Throwable |
unavailabilityCauseBcPkix() |
static Throwable |
unavailabilityCauseBcProv() |
static Throwable |
unavailabilityCauseBcTls() |
public static boolean isBcProvAvailable()
public static boolean isBcPkixAvailable()
public static boolean isBcTlsAvailable()
public static Throwable unavailabilityCauseBcProv()
null
if available.public static Throwable unavailabilityCauseBcPkix()
null
if available.public static Throwable unavailabilityCauseBcTls()
null
if available.public static boolean isBcJsseInUse(SSLEngine engine)
public static Provider getBcProviderJce()
public static Provider getBcProviderJsse()
Copyright © 2008–2025 The Netty Project. All rights reserved.