public class AsymmetricKeyPairEcBc extends AsymmetricKeyPairEc<org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey,org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey>
| Modifier and Type | Field and Description |
|---|---|
private static KeyFactory |
keyFactory |
ALGORITHM_EC, FORMAT_UNCOMORESSEDprivateKey, publicKey| Constructor and Description |
|---|
AsymmetricKeyPairEcBc(org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey privateKey)
The constructor.
|
AsymmetricKeyPairEcBc(org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey privateKey,
org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey publicKey)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey |
createPrivateKey(BigInteger s,
org.bouncycastle.jce.spec.ECParameterSpec ecParameters) |
static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey |
createPrivateKey(org.bouncycastle.jce.spec.ECPrivateKeySpec keySpec) |
private static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey |
createPrivateKey(KeySpec keySpec) |
static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey |
createPrivateKeyFromEncodedData(byte[] data) |
static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey |
createPublicKey(org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey privateKey) |
static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey |
createPublicKey(org.bouncycastle.math.ec.ECPoint q,
org.bouncycastle.jce.spec.ECParameterSpec ecParameters) |
static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey |
createPublicKey(org.bouncycastle.jce.spec.ECPublicKeySpec keySpec) |
private static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey |
createPublicKey(KeySpec keySpec) |
static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey |
createPublicKeyFromEncodedData(byte[] data) |
(package private) static KeyFactory |
getKeyFactory() |
equals, getKeyPair, getPrivateKey, getPublicKey, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetKeysprivate static KeyFactory keyFactory
public AsymmetricKeyPairEcBc(org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey privateKey)
privateKey - the private key.public AsymmetricKeyPairEcBc(org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey privateKey,
org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey publicKey)
privateKey - the private key.publicKey - the public key.static KeyFactory getKeyFactory()
public static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey createPrivateKey(BigInteger s, org.bouncycastle.jce.spec.ECParameterSpec ecParameters)
s - the private key value s.ecParameters - the ECParameterSpec representing the curve.BCECPrivateKey.public static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey createPrivateKey(org.bouncycastle.jce.spec.ECPrivateKeySpec keySpec)
keySpec - the ECPrivateKeySpec.BCECPrivateKey.private static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey createPrivateKey(KeySpec keySpec)
keySpec - the KeySpec.BCECPrivateKey.public static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey createPrivateKeyFromEncodedData(byte[] data)
data - the encoded data.BCECPrivateKey.public static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey createPublicKey(org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey privateKey)
privateKey - the BCECPrivateKey.BCECPublicKey.public static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey createPublicKey(org.bouncycastle.math.ec.ECPoint q,
org.bouncycastle.jce.spec.ECParameterSpec ecParameters)
q - the public key value q.ecParameters - the ECParameterSpec representing the curve.ECPublicKey.public static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey createPublicKey(org.bouncycastle.jce.spec.ECPublicKeySpec keySpec)
keySpec - the ECPublicKeySpec.ECPublicKey.private static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey createPublicKey(KeySpec keySpec)
keySpec - the KeySpec.ECPublicKey.public static org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey createPublicKeyFromEncodedData(byte[] data)
data - the encoded data.ECPublicKey.Copyright © 2001–2019 mmm-Team. All rights reserved.