public final class Converter extends Object
Modifier and Type | Method and Description |
---|---|
static PrivateKey |
convertPrivateKey(org.bouncycastle.crypto.params.AsymmetricKeyParameter bcKey)
Produces a
PrivateKey from a BC private key type. |
static PublicKey |
convertPublicKey(org.bouncycastle.crypto.params.AsymmetricKeyParameter bcKey)
Produces a
PublicKey from a BC public key type. |
public static PrivateKey convertPrivateKey(org.bouncycastle.crypto.params.AsymmetricKeyParameter bcKey)
PrivateKey
from a BC private key type.bcKey
- BC private key.Copyright © 2016 JBoss by Red Hat. All rights reserved.