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 |
EthereumIESEngine.init(AsymmetricKeyParameter publicKey,
CipherParameters params,
EphemeralKeyPairGenerator ephemeralKeyPairGenerator)
Initialise the decryptor.
|
void |
IESEngine.init(AsymmetricKeyParameter publicKey,
CipherParameters params,
EphemeralKeyPairGenerator ephemeralKeyPairGenerator)
Initialise the decryptor.
|
void |
EthereumIESEngine.init(AsymmetricKeyParameter privateKey,
CipherParameters params,
KeyParser publicKeyParser)
Initialise the encryptor.
|
void |
IESEngine.init(AsymmetricKeyParameter privateKey,
CipherParameters params,
KeyParser publicKeyParser)
Initialise the encryptor.
|
Modifier and Type | Method and Description |
---|---|
AsymmetricKeyParameter |
XDHUPrivateParameters.getEphemeralPrivateKey() |
AsymmetricKeyParameter |
XDHUPublicParameters.getEphemeralPublicKey() |
AsymmetricKeyParameter |
XDHUPrivateParameters.getEphemeralPublicKey() |
AsymmetricKeyParameter |
XDHUPrivateParameters.getStaticPrivateKey() |
AsymmetricKeyParameter |
XDHUPublicParameters.getStaticPublicKey() |
Constructor and Description |
---|
XDHUPrivateParameters(AsymmetricKeyParameter staticPrivateKey,
AsymmetricKeyParameter ephemeralPrivateKey) |
XDHUPrivateParameters(AsymmetricKeyParameter staticPrivateKey,
AsymmetricKeyParameter ephemeralPrivateKey,
AsymmetricKeyParameter ephemeralPublicKey) |
XDHUPublicParameters(AsymmetricKeyParameter staticPublicKey,
AsymmetricKeyParameter ephemeralPublicKey) |
Modifier and Type | Method and Description |
---|---|
AsymmetricKeyParameter |
DHIESPublicKeyParser.readKey(InputStream stream) |
AsymmetricKeyParameter |
ECIESPublicKeyParser.readKey(InputStream stream) |
Modifier and Type | Field and Description |
---|---|
protected AsymmetricKeyParameter |
DefaultTlsEncryptionCredentials.privateKey |
protected AsymmetricKeyParameter |
DefaultTlsAgreementCredentials.privateKey |
protected AsymmetricKeyParameter |
DefaultTlsSignerCredentials.privateKey |
protected AsymmetricKeyParameter |
TlsDHKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsRSAKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsECDHKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsPSKKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsSRPKeyExchange.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
|
static AsymmetricKeyParameter |
PublicKeyFactory.createKey(SubjectPublicKeyInfo keyInfo,
Object defaultParams)
Create a public key from the passed in SubjectPublicKeyInfo
|
static AsymmetricKeyParameter |
OpenSSHPrivateKeyUtil.parsePrivateKeyBlob(byte[] blob)
Parse a private key.
|
static AsymmetricKeyParameter |
OpenSSHPublicKeyUtil.parsePublicKey(byte[] encoded)
Parse a public key.
|
static AsymmetricKeyParameter |
OpenSSHPublicKeyUtil.parsePublicKey(org.bouncycastle.crypto.util.SSHBuffer buffer)
Parse a public key from an SSHBuffer instance.
|
Modifier and Type | Method and Description |
---|---|
static PrivateKeyInfo |
PrivateKeyInfoFactory.createPrivateKeyInfo(AsymmetricKeyParameter privateKey)
Create a PrivateKeyInfo representation of a private key.
|
static PrivateKeyInfo |
PrivateKeyInfoFactory.createPrivateKeyInfo(AsymmetricKeyParameter privateKey,
ASN1Set attributes)
Create a PrivateKeyInfo representation of a private key with attributes.
|
static SubjectPublicKeyInfo |
SubjectPublicKeyInfoFactory.createSubjectPublicKeyInfo(AsymmetricKeyParameter publicKey)
Create a SubjectPublicKeyInfo public key.
|
static byte[] |
OpenSSHPrivateKeyUtil.encodePrivateKey(AsymmetricKeyParameter params)
Encode a cipher parameters into an OpenSSH private key.
|
static byte[] |
OpenSSHPublicKeyUtil.encodePublicKey(AsymmetricKeyParameter cipherParameters)
Encode a public key from an AsymmetricKeyParameter instance.
|
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 |
DHUtil.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
ECUtil.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
GOST3410Util.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
DHUtil.generatePublicKeyParameter(PublicKey key) |
static AsymmetricKeyParameter |
ECUtil.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.
|
AsymmetricKeyParameter |
DigestingStateAwareMessageSigner.getUpdatedPrivateKey()
Return the current version of the private key with the updated state.
|
AsymmetricKeyParameter |
StateAwareMessageSigner.getUpdatedPrivateKey()
Return the current version of the private key with the updated state.
|
Modifier and Type | Method and Description |
---|---|
ExchangePair |
ExchangePairGenerator.generateExchange(AsymmetricKeyParameter senderPublicKey)
Generate an exchange pair based on the sender public key.
|
ExchangePair |
ExchangePairGenerator.GenerateExchange(AsymmetricKeyParameter senderPublicKey)
Deprecated.
use generateExchange
|
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 | Method and Description |
---|---|
AsymmetricKeyParameter |
GMSSStateAwareSigner.getUpdatedPrivateKey() |
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) |
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 |
QTESLAPrivateKeyParameters
qTESLA private key
|
class |
QTESLAPublicKeyParameters
qTESLA public key
|
Modifier and Type | Class and Description |
---|---|
class |
RainbowKeyParameters |
class |
RainbowPrivateKeyParameters |
class |
RainbowPublicKeyParameters |
Modifier and Type | Class and Description |
---|---|
class |
SPHINCSKeyParameters |
class |
SPHINCSPrivateKeyParameters |
class |
SPHINCSPublicKeyParameters |
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
|
static AsymmetricKeyParameter |
PublicKeyFactory.createKey(SubjectPublicKeyInfo keyInfo,
Object defaultParams)
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 PrivateKeyInfo |
PrivateKeyInfoFactory.createPrivateKeyInfo(AsymmetricKeyParameter privateKey,
ASN1Set attributes)
Create a PrivateKeyInfo representation of a private key with attributes.
|
static SubjectPublicKeyInfo |
SubjectPublicKeyInfoFactory.createSubjectPublicKeyInfo(AsymmetricKeyParameter publicKey)
Create a SubjectPublicKeyInfo public key.
|
Modifier and Type | Class and Description |
---|---|
class |
XMSSKeyParameters |
class |
XMSSMTKeyParameters |
class |
XMSSMTPrivateKeyParameters
XMSS^MT Private Key.
|
class |
XMSSMTPublicKeyParameters
XMSS^MT Public Key.
|
class |
XMSSPrivateKeyParameters
XMSS Private Key.
|
class |
XMSSPublicKeyParameters
XMSS Public Key.
|
Modifier and Type | Method and Description |
---|---|
AsymmetricKeyParameter |
XMSSSigner.getUpdatedPrivateKey() |
AsymmetricKeyParameter |
XMSSMTSigner.getUpdatedPrivateKey() |
Modifier and Type | Method and Description |
---|---|
static AsymmetricKeyParameter |
McElieceKeysToParams.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
McElieceCCA2KeysToParams.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
McElieceKeysToParams.generatePublicKeyParameter(PublicKey key) |
static AsymmetricKeyParameter |
McElieceCCA2KeysToParams.generatePublicKeyParameter(PublicKey key) |
Modifier and Type | Method and Description |
---|---|
static AsymmetricKeyParameter |
RainbowKeysToParams.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
RainbowKeysToParams.generatePublicKeyParameter(PublicKey key) |
Copyright © 2020 BouncyCastle.org. All rights reserved.