Modifier and Type | Method and Description |
---|---|
AsymmetricKeyParameter |
AsymmetricCipherKeyPair.getPrivate()
return the private key parameters.
|
AsymmetricKeyParameter |
AsymmetricCipherKeyPair.getPublic()
return the public key parameters.
|
AsymmetricKeyParameter |
KeyParser.readKey(InputStream stream) |
Modifier and Type | Method and Description |
---|---|
byte[] |
KeyEncoder.getEncoded(AsymmetricKeyParameter keyParameter) |
Constructor and Description |
---|
AsymmetricCipherKeyPair(AsymmetricKeyParameter publicParam,
AsymmetricKeyParameter privateParam)
basic constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
IESEngine.init(AsymmetricKeyParameter publicKey,
CipherParameters params,
EphemeralKeyPairGenerator ephemeralKeyPairGenerator)
Initialise the decryptor.
|
void |
IESEngine.init(AsymmetricKeyParameter privateKey,
CipherParameters params,
KeyParser publicKeyParser)
Initialise the encryptor.
|
Modifier and Type | Class and Description |
---|---|
class |
CramerShoupKeyParameters |
class |
CramerShoupPrivateKeyParameters |
class |
CramerShoupPublicKeyParameters |
class |
DHKeyParameters |
class |
DHPrivateKeyParameters |
class |
DHPublicKeyParameters |
class |
DSAKeyParameters |
class |
DSAPrivateKeyParameters |
class |
DSAPublicKeyParameters |
class |
ECKeyParameters |
class |
ECPrivateKeyParameters |
class |
ECPublicKeyParameters |
class |
ElGamalKeyParameters |
class |
ElGamalPrivateKeyParameters |
class |
ElGamalPublicKeyParameters |
class |
GOST3410KeyParameters |
class |
GOST3410PrivateKeyParameters |
class |
GOST3410PublicKeyParameters |
class |
NaccacheSternKeyParameters
Public key parameters for NaccacheStern cipher.
|
class |
NaccacheSternPrivateKeyParameters
Private key parameters for NaccacheStern cipher.
|
class |
RSAKeyParameters |
class |
RSAPrivateCrtKeyParameters |
Modifier and Type | Method and Description |
---|---|
AsymmetricKeyParameter |
DHIESPublicKeyParser.readKey(InputStream stream) |
AsymmetricKeyParameter |
ECIESPublicKeyParser.readKey(InputStream stream) |
Modifier and Type | Field and Description |
---|---|
protected AsymmetricKeyParameter |
DefaultTlsSignerCredentials.privateKey |
protected AsymmetricKeyParameter |
DefaultTlsAgreementCredentials.privateKey |
protected AsymmetricKeyParameter |
DefaultTlsEncryptionCredentials.privateKey |
protected AsymmetricKeyParameter |
TlsSRPKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsECDHKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsPSKKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsRSAKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsDHKeyExchange.serverPublicKey |
Constructor and Description |
---|
DefaultTlsAgreementCredentials(Certificate certificate,
AsymmetricKeyParameter privateKey) |
DefaultTlsEncryptionCredentials(TlsContext context,
Certificate certificate,
AsymmetricKeyParameter privateKey) |
DefaultTlsSignerCredentials(TlsContext context,
Certificate certificate,
AsymmetricKeyParameter privateKey) |
DefaultTlsSignerCredentials(TlsContext context,
Certificate certificate,
AsymmetricKeyParameter privateKey,
SignatureAndHashAlgorithm signatureAndHashAlgorithm) |
Modifier and Type | Method and Description |
---|---|
static AsymmetricKeyParameter |
PrivateKeyFactory.createKey(byte[] privateKeyInfoData)
Create a private key parameter from a PKCS8 PrivateKeyInfo encoding.
|
static AsymmetricKeyParameter |
PublicKeyFactory.createKey(byte[] keyInfoData)
Create a public key from a SubjectPublicKeyInfo encoding
|
static AsymmetricKeyParameter |
PrivateKeyFactory.createKey(InputStream inStr)
Create a private key parameter from a PKCS8 PrivateKeyInfo encoding read from a
stream.
|
static AsymmetricKeyParameter |
PublicKeyFactory.createKey(InputStream inStr)
Create a public key from a SubjectPublicKeyInfo encoding read from a stream
|
static AsymmetricKeyParameter |
PrivateKeyFactory.createKey(PrivateKeyInfo keyInfo)
Create a private key parameter from the passed in PKCS8 PrivateKeyInfo object.
|
static AsymmetricKeyParameter |
PublicKeyFactory.createKey(SubjectPublicKeyInfo keyInfo)
Create a public key from the passed in SubjectPublicKeyInfo
|
Modifier and Type | Method and Description |
---|---|
static PrivateKeyInfo |
PrivateKeyInfoFactory.createPrivateKeyInfo(AsymmetricKeyParameter privateKey)
Create a PrivateKeyInfo representation of a private key.
|
static SubjectPublicKeyInfo |
SubjectPublicKeyInfoFactory.createSubjectPublicKeyInfo(AsymmetricKeyParameter publicKey)
Create a SubjectPublicKeyInfo public key.
|
Modifier and Type | Method and Description |
---|---|
static AsymmetricKeyParameter |
DSAUtil.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
DSAUtil.generatePublicKeyParameter(PublicKey key) |
Modifier and Type | Method and Description |
---|---|
static AsymmetricKeyParameter |
ElGamalUtil.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
ElGamalUtil.generatePublicKeyParameter(PublicKey key) |
Modifier and Type | Method and Description |
---|---|
static AsymmetricKeyParameter |
ECUtil.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
DHUtil.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
GOST3410Util.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
ECUtil.generatePublicKeyParameter(PublicKey key) |
static AsymmetricKeyParameter |
DHUtil.generatePublicKeyParameter(PublicKey key) |
static AsymmetricKeyParameter |
GOST3410Util.generatePublicKeyParameter(PublicKey key) |
Modifier and Type | Method and Description |
---|---|
static AsymmetricKeyParameter |
DHUtil.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
DHUtil.generatePublicKeyParameter(PublicKey key) |
Modifier and Type | Method and Description |
---|---|
AsymmetricKeyParameter |
ExchangePair.getPublicKey()
Return the responding party's public key.
|
Modifier and Type | Method and Description |
---|---|
ExchangePair |
ExchangePairGenerator.GenerateExchange(AsymmetricKeyParameter senderPublicKey)
Generate an exchange pair based on the sender public key.
|
Constructor and Description |
---|
ExchangePair(AsymmetricKeyParameter publicKey,
byte[] shared)
Base constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
GMSSKeyParameters |
class |
GMSSPrivateKeyParameters
This class provides a specification for a GMSS private key.
|
class |
GMSSPublicKeyParameters |
Modifier and Type | Class and Description |
---|---|
class |
McElieceCCA2KeyParameters |
class |
McElieceCCA2PrivateKeyParameters |
class |
McElieceCCA2PublicKeyParameters |
class |
McElieceKeyParameters |
class |
McEliecePrivateKeyParameters |
class |
McEliecePublicKeyParameters |
Modifier and Type | Class and Description |
---|---|
class |
NHPrivateKeyParameters |
class |
NHPublicKeyParameters |
Modifier and Type | Method and Description |
---|---|
ExchangePair |
NHExchangePairGenerator.GenerateExchange(AsymmetricKeyParameter senderPublicKey) |
Modifier and Type | Class and Description |
---|---|
class |
NTRUEncryptionKeyParameters |
class |
NTRUEncryptionPrivateKeyParameters
A NtruEncrypt private key is essentially a polynomial named
f
which takes different forms depending on whether product-form polynomials are used,
and on fastP The inverse of f modulo p is precomputed on initialization. |
class |
NTRUEncryptionPublicKeyParameters
A NtruEncrypt public key is essentially a polynomial named
h . |
class |
NTRUSigningPrivateKeyParameters
A NtruSign private key comprises one or more
NTRUSigningPrivateKeyParameters.Basis of three polynomials each,
except the zeroth basis for which h is undefined. |
class |
NTRUSigningPublicKeyParameters
A NtruSign public key is essentially a polynomial named
h . |
Modifier and Type | Class and Description |
---|---|
class |
RainbowKeyParameters |
class |
RainbowPrivateKeyParameters |
class |
RainbowPublicKeyParameters |
Modifier and Type | Class and Description |
---|---|
class |
SPHINCSPrivateKeyParameters |
class |
SPHINCSPublicKeyParameters |
Modifier and Type | Method and Description |
---|---|
static AsymmetricKeyParameter |
McElieceCCA2KeysToParams.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
McElieceKeysToParams.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
McElieceCCA2KeysToParams.generatePublicKeyParameter(PublicKey key) |
static AsymmetricKeyParameter |
McElieceKeysToParams.generatePublicKeyParameter(PublicKey key) |
Modifier and Type | Method and Description |
---|---|
static AsymmetricKeyParameter |
RainbowKeysToParams.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
RainbowKeysToParams.generatePublicKeyParameter(PublicKey key) |
Copyright © 2018 BouncyCastle.org. All rights reserved.