| 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 |
|---|---|
EncryptedValue |
BcEncryptedValueBuilder.build(AsymmetricKeyParameter privateKey)
Build an EncryptedValue structure containing the private key details contained in
the passed PrivateKey.
|
| 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 |
EthereumIESEngine.init(AsymmetricKeyParameter publicKey,
CipherParameters params,
EphemeralKeyPairGenerator ephemeralKeyPairGenerator)
Initialise the decryptor.
|
void |
IESEngine.init(AsymmetricKeyParameter privateKey,
CipherParameters params,
KeyParser publicKeyParser)
Initialise the encryptor.
|
void |
EthereumIESEngine.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 |
ECIESPublicKeyParser.readKey(InputStream stream) |
AsymmetricKeyParameter |
DHIESPublicKeyParser.readKey(InputStream stream) |
| Modifier and Type | Field and Description |
|---|---|
protected AsymmetricKeyParameter |
DefaultTlsSignerCredentials.privateKey |
protected AsymmetricKeyParameter |
DefaultTlsEncryptionCredentials.privateKey |
protected AsymmetricKeyParameter |
DefaultTlsAgreementCredentials.privateKey |
protected AsymmetricKeyParameter |
TlsSRPKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsRSAKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsPSKKeyExchange.serverPublicKey |
protected AsymmetricKeyParameter |
TlsECDHKeyExchange.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 |
PublicKeyFactory.createKey(byte[] keyInfoData)
Create a public key from a SubjectPublicKeyInfo encoding
|
static AsymmetricKeyParameter |
PrivateKeyFactory.createKey(byte[] privateKeyInfoData)
Create a private key parameter from a PKCS8 PrivateKeyInfo encoding.
|
static AsymmetricKeyParameter |
PublicKeyFactory.createKey(InputStream inStr)
Create a public key from a SubjectPublicKeyInfo encoding read from a stream
|
static AsymmetricKeyParameter |
PrivateKeyFactory.createKey(InputStream inStr)
Create a private key parameter from a PKCS8 PrivateKeyInfo 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 |
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 |
|---|---|
protected AsymmetricKeyParameter |
BcRSAContentVerifierProviderBuilder.extractKeyParameters(SubjectPublicKeyInfo publicKeyInfo) |
protected AsymmetricKeyParameter |
BcECContentVerifierProviderBuilder.extractKeyParameters(SubjectPublicKeyInfo publicKeyInfo) |
protected AsymmetricKeyParameter |
BcDSAContentVerifierProviderBuilder.extractKeyParameters(SubjectPublicKeyInfo publicKeyInfo) |
protected abstract AsymmetricKeyParameter |
BcContentVerifierProviderBuilder.extractKeyParameters(SubjectPublicKeyInfo publicKeyInfo)
Extract an AsymmetricKeyParameter from the passed in SubjectPublicKeyInfo structure.
|
| 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.
|
AsymmetricKeyParameter |
StateAwareMessageSigner.getUpdatedPrivateKey()
Return the current version of the private key with the updated state.
|
AsymmetricKeyParameter |
DigestingStateAwareMessageSigner.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 fastPThe 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 |
PublicKeyFactory.createKey(byte[] keyInfoData)
Create a public key from a SubjectPublicKeyInfo encoding
|
static AsymmetricKeyParameter |
PrivateKeyFactory.createKey(byte[] privateKeyInfoData)
Create a private key parameter from a PKCS8 PrivateKeyInfo encoding.
|
static AsymmetricKeyParameter |
PublicKeyFactory.createKey(InputStream inStr)
Create a public key from a SubjectPublicKeyInfo encoding read from a stream
|
static AsymmetricKeyParameter |
PrivateKeyFactory.createKey(InputStream inStr)
Create a private key parameter from a PKCS8 PrivateKeyInfo 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 © 2015–2019 The veraPDF Consortium. All rights reserved.