Modifier and Type | Method and Description |
---|---|
AuthorityKeyIdentifier |
BcX509ExtensionUtils.createAuthorityKeyIdentifier(AsymmetricKeyParameter publicKey) |
SubjectKeyIdentifier |
BcX509ExtensionUtils.createSubjectKeyIdentifier(AsymmetricKeyParameter publicKey)
Return a RFC 3280 type 1 key identifier.
|
Constructor and Description |
---|
BcX509v1CertificateBuilder(X500Name issuer,
BigInteger serial,
Date notBefore,
Date notAfter,
X500Name subject,
AsymmetricKeyParameter publicKey)
Initialise the builder using an AsymmetricKeyParameter.
|
BcX509v3CertificateBuilder(X500Name issuer,
BigInteger serial,
Date notBefore,
Date notAfter,
X500Name subject,
AsymmetricKeyParameter publicKey)
Initialise the builder using a PublicKey.
|
BcX509v3CertificateBuilder(X509CertificateHolder issuerCert,
BigInteger serial,
Date notBefore,
Date notAfter,
X500Name subject,
AsymmetricKeyParameter publicKey)
Initialise the builder using the subject from the passed in issuerCert as the issuer, as well as
passing through and converting the other objects provided.
|
Modifier and Type | Method and Description |
---|---|
SignerInformationVerifier |
BcRSASignerInfoVerifierBuilder.build(AsymmetricKeyParameter pubKey) |
Constructor and Description |
---|
BcKeyTransRecipient(AsymmetricKeyParameter recipientKey) |
BcRSAKeyTransEnvelopedRecipient(AsymmetricKeyParameter key) |
BcRSAKeyTransRecipientInfoGenerator(byte[] subjectKeyIdentifier,
AlgorithmIdentifier encAlgId,
AsymmetricKeyParameter publicKey) |
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 |
TlsDHKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsSRPKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsPSKKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsECDHKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsRSAKeyExchange.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 |
GOST3410Util.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
ECUtil.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
DHUtil.generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
GOST3410Util.generatePublicKeyParameter(PublicKey key) |
static AsymmetricKeyParameter |
ECUtil.generatePublicKeyParameter(PublicKey key) |
static AsymmetricKeyParameter |
DHUtil.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 |
BcPGPKeyConverter.getPrivateKey(PGPPrivateKey privKey) |
AsymmetricKeyParameter |
BcPGPKeyConverter.getPublicKey(PGPPublicKey publicKey) |
Modifier and Type | Method and Description |
---|---|
PGPPrivateKey |
BcPGPKeyConverter.getPGPPrivateKey(PGPPublicKey pubKey,
AsymmetricKeyParameter privKey) |
PGPPublicKey |
BcPGPKeyConverter.getPGPPublicKey(int algorithm,
PGPAlgorithmParameters algorithmParameters,
AsymmetricKeyParameter pubKey,
Date time)
Create a PGPPublicKey from the passed in JCA one.
|
Modifier and Type | Method and Description |
---|---|
protected abstract AsymmetricKeyParameter |
BcContentVerifierProviderBuilder.extractKeyParameters(SubjectPublicKeyInfo publicKeyInfo)
Extract an AsymmetricKeyParameter from the passed in SubjectPublicKeyInfo structure.
|
protected AsymmetricKeyParameter |
BcECContentVerifierProviderBuilder.extractKeyParameters(SubjectPublicKeyInfo publicKeyInfo) |
protected AsymmetricKeyParameter |
BcRSAContentVerifierProviderBuilder.extractKeyParameters(SubjectPublicKeyInfo publicKeyInfo) |
protected AsymmetricKeyParameter |
BcDSAContentVerifierProviderBuilder.extractKeyParameters(SubjectPublicKeyInfo publicKeyInfo) |
Modifier and Type | Method and Description |
---|---|
ContentVerifierProvider |
BcContentVerifierProviderBuilder.build(AsymmetricKeyParameter publicKey) |
ContentSigner |
BcContentSignerBuilder.build(AsymmetricKeyParameter privateKey) |
Constructor and Description |
---|
BcAsymmetricKeyUnwrapper(AlgorithmIdentifier encAlgId,
AsymmetricKeyParameter privateKey) |
BcAsymmetricKeyWrapper(AlgorithmIdentifier encAlgId,
AsymmetricKeyParameter publicKey) |
BcRSAAsymmetricKeyUnwrapper(AlgorithmIdentifier encAlgId,
AsymmetricKeyParameter privateKey) |
BcRSAAsymmetricKeyWrapper(AlgorithmIdentifier encAlgId,
AsymmetricKeyParameter publicKey) |
Modifier and Type | Method and Description |
---|---|
AsymmetricKeyParameter |
BcPKCS10CertificationRequest.getPublicKey() |
Constructor and Description |
---|
BcPKCS10CertificationRequestBuilder(X500Name subject,
AsymmetricKeyParameter publicKey)
Create a PKCS#10 builder for the passed in subject and JCA public 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.