public final class Converter
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
Converter()
Private constructor of utility class.
|
| Modifier and Type | Method and Description |
|---|---|
static java.security.PrivateKey |
convertPrivateKey(org.bouncycastle.crypto.params.AsymmetricKeyParameter bcKey)
Produces a
PrivateKey from a BC private key type. |
static java.security.PublicKey |
convertPublicKey(org.bouncycastle.crypto.params.AsymmetricKeyParameter bcKey)
Produces a
PublicKey from a BC public key type. |
public static java.security.PrivateKey convertPrivateKey(org.bouncycastle.crypto.params.AsymmetricKeyParameter bcKey)
PrivateKey from a BC private key type.bcKey - BC private key.public static java.security.PublicKey convertPublicKey(org.bouncycastle.crypto.params.AsymmetricKeyParameter bcKey)
PublicKey from a BC public key type.bcKey - BC public key.