|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
HPKEContext.seal(byte[], byte[])/HPKEContext.open(byte[], byte[]).
AEADCipher based on a BlockCipher.AIMerParameters parameter set the key belongs to.Argon2Parameters.ARGON2_i and Argon2Parameters.ARGON2_d.
Argon2KeySpec.ARGON2_i and Argon2KeySpec.ARGON2_d.
Date and an explicit Locale.
Date and an explicit Locale.
RuntimeException that carries several underlying exceptions rather than a single
cause - for example the complete set of problems found when reviewing a malformed structure,
where surfacing only the first would lose information.EdDSAParameterSpec. Block objects.
Block objects.
Argon2 PBKDF.
Argon2Parameters.Argon2Parameters.ARGON2_i.
AbstractX500NameStyle.rdnAreEqual(RDN, RDN).
OwlClient.authenticationInitiate() by OwlClient, and then creates a new OwlAuthenticationServerResponse payload and sends it to the OwlClient.
ASN1OctetString data blocks are input,
the result is constructed form.
ASN1OctetString data blocks are input,
the result is constructed form.
ParametersWithRandom source, or the default CryptoServicesRegistrar source when none
is supplied.
Pack.bigEndianToLong(byte[], int) would return for those three bytes preceded by five
zero ones.
Argon2Parameters from the current builder state.
SkeinParameters instance with the parameters provided to this
builder.
SkeinParameterSpec instance with the parameters provided to this
builder.
FaestParameters.getName() matches, or null.
BCChaCha20ParameterSpec, so the provider only has to handle the BC type.
IOException wrapper around an exception indicating a problem with the use of a cipher.Cipher for SM9 public-key encryption (GM/T 0044.4).
JPAKEUtil.calculateGx(BigInteger, BigInteger, BigInteger, BigInteger, SecureRandom) instead.
BigInteger mod n.
BigInteger mod n.
BigInteger mod q.
BigInteger mod q.
Digest instance for the variant's content hash
(SHA-384 for every variant defined in RFC 9474 sec. 5).
DERExternal.fromVector(ASN1EncodableVector) instead.
DERExternal.fromSequence(ASN1Sequence) instead.
ASN1Set.
DLExternal.fromVector(ASN1EncodableVector) instead.
DLExternal.fromSequence(ASN1Sequence) instead.
JcaJceHelper that obtains all algorithms using the default JCA/JCE mechanism (i.e.
Dim2Id2IsoClapotis.idealToIsogenyClapotis(org.bouncycastle.pqc.crypto.sqisign.QuatLeftIdeal, org.bouncycastle.pqc.crypto.sqisign.QuatAlg, org.bouncycastle.pqc.crypto.sqisign.Dim2Id2IsoClapotis.Precomp, java.security.SecureRandom) consumes. Dim2Id2IsoHelpers.findUv(org.bouncycastle.pqc.crypto.sqisign.Ibz, org.bouncycastle.pqc.crypto.sqisign.QuatLeftIdeal, org.bouncycastle.pqc.crypto.sqisign.QuatAlg, int, org.bouncycastle.pqc.crypto.sqisign.QuatLeftIdeal[], int, int). DualECSP800DRBG.HashSP800DRBG, HMacSP800DRBG or CTRSP800DRBG. It will
be removed in a future release.X25519Field.decode255(byte[], int[]) instead.
X25519Field.decode255(byte[], int, int[], int) instead.
X25519Field.decode255(byte[], int, int[], int) instead.
X25519Field.decode255(int[], int, int[], int) instead.
X448Field.decode448(byte[], int[]) instead.
X448Field.decode448(byte[], int, int[], int) instead.
X448Field.decode448(byte[], int, int[], int) instead.
X448Field.decode448(int[], int, int[], int) instead.
GF16.decode(byte[], byte[], int).
GF16.decode(byte[], int, byte[], int, int).
ECPublicKeyParameters carrying the unique
even-Y secp256k1 point with that X.
ECGOST3410Signer instead.ECJPAKECurve.
ECJPAKEParticipant that uses
the ECJPAKECurves.NIST_P256 elliptic curve,
a SHA-256 digest, and a default SecureRandom implementation.
ECJPAKEParticipant that uses
a SHA-256 digest and a default SecureRandom implementation.
ECJPAKEParticipant.
EcDlog.ecDlog2Tate(org.bouncycastle.pqc.crypto.sqisign.GfField, org.bouncycastle.pqc.crypto.sqisign.EcBasis, org.bouncycastle.pqc.crypto.sqisign.EcBasis, org.bouncycastle.pqc.crypto.sqisign.EcCurve, int, int, long): the four scalars
satisfying ,
.GF16.encode(byte[], byte[], int).
GF16.encode(byte[], byte[], int, int).
SignatureSpi.engineGetParameters().
SignatureSpi.engineSetParameter(AlgorithmParameterSpec).
RSABlindSignatureClient.Blinded request and verify it as a standard
RSASSA-PSS signature over the prepared message.
PrecompLvl1#FINDUV_BOX_SIZE.
PrecompLvl1#FINDUV_CUBE_SIZE.
QuantumVulnerableConstraint.POLICY_NIST for the NIST IR 8547
timetable, QuantumVulnerableConstraint.POLICY_LOG for QuantumVulnerableConstraint.logOnly(), QuantumVulnerableConstraint.POLICY_LEGACY for
QuantumVulnerableConstraint.legacyUseOnly(), QuantumVulnerableConstraint.POLICY_REJECT for QuantumVulnerableConstraint.rejectAll() and
QuantumVulnerableConstraint.POLICY_NONE for no constraint.
SM9EncPrivateKeyParameters.fromEncoded(byte[], SM9EncMasterPublicKeyParameters, byte[], byte) does, declared for
one of the two.
SM9EncMasterPrivateKeyParameters.HID_EXCHANGE - the import path for
an exchange party that received its key from the KGC rather than deriving
it in-process via
SM9EncMasterPrivateKeyParameters.generateExchangeKey(byte[]).
SM9EncMasterPrivateKeyParameters.HID_EXCHANGE (the official English
edition's GM/T 0044.5 Annex B example runs the exchange under 0x03).
Extensions
and return every RelatedCertificateDescriptor it carries (each
AccessDescription whose accessMethod is
BCObjectIdentifiers.id_ad_certDiscovery and whose accessLocation
is an OtherName of type
BCObjectIdentifiers.id_on_relatedCertificateDescriptor).
InputStream.The stream is not closed by this method and may
contain further data beyond the first ASN.1 encoding.
GF16; this type now
delegates there and will be removed in a future release.BCrypt.generate(byte[], byte[], int, boolean) so
the terminator choice is explicit at the call site — pass to
have the spec-required 0x00 terminator appended (equivalent to feeding
through BCrypt.passwordToByteArray(char[])),
when the supplied bytes already include it. For general password hashing prefer
OpenBSDBCrypt, which handles termination, salt formatting and the
modular crypt output line; this raw primitive remains available for test-vector
validation and interop with implementations that emit the 24-byte hash directly
(issue #1741).
SM9EncMasterPrivateKeyParameters.HID_EXCHANGE - the hid the standard's
Chinese-edition worked example publishes for the exchange.
SM9EncMasterPrivateKeyParameters.HID_EXCHANGE (the official English edition's Annex B example
runs the exchange under 0x03, on its own master key).
AsymmetricKeyInfoConverter half, registered against both SM9 algorithm
identifiers so that and
any other generic BC path that resolves a key by its OID answer for SM9 rather than
returning null, as they did before.
SM9EncMasterPrivateKeyParameters.generateUserKey(byte[], byte) does, declared for one of the two.
Argon2BytesGenerator.Blocks a generator takes from its Argon2BytesGenerator.BlockPool for the
given memory size and degree of parallelism: the primary memory, after the alignment Argon2
applies to it, plus the blocks the fill step works in.
CrlID.getCrlUrlIA5() instead.
SM9P256V1Point.encodeTo(boolean, byte[], int) refuses the
compressed encoding itself.
SPHINCSPlusParameters.getID() instead
key parameter, or null if not
set.
key parameter, or null if not
set.
AuthorityKeyIdentifier.getKeyIdentifierOctets() instead.
key identifier parameter, or
null if not set.
key identifier parameter, or
null if not set.
nonce parameter, or null if
not set.
nonce parameter, or null if
not set.
SM9Engine.processBlock(byte[], int, int) on
input bytes (exact for encryption and stream-mode decryption,
an upper bound for SM4-mode decryption, whose padding length is unknown until
removed).
ASN1BitStringParser.getBitStream().
MLDSAPrivateKeyParameters.withPreferredFormat(int) instead.
MLKEMPrivateKeyParameters.withPreferredFormat(int) instead.
personalisation parameter, or
null if not set.
personalisation parameter, or
null if not set.
MLDSAPrivateKeyParameters.getEncoded() instead.
DilithiumPrivateKeyParameters.getEncoded() instead.
public key parameter, or
null if not set.
public key parameter, or
null if not set.
FalconPublicKeyParameters for this private
key, mirroring .
BiometricData.getSourceDataUriIA5() instead.
CertDiscoveryMethod.byUri, CertDiscoveryMethod.byInclusion, CertDiscoveryMethod.byLocalPolicy,
CertDiscoveryMethod.byOther.
BlockCipher this object wraps.
SM9EncPrivateKeyParameters.USAGE_KEY_EXCHANGE for a
key-exchange key, SM9EncPrivateKeyParameters.USAGE_KEM or SM9EncPrivateKeyParameters.USAGE_DECRYPTION for a KEM / decryption
key declared for one of the two, and SM9EncPrivateKeyParameters.USAGE_UNSPECIFIED for one declared for neither.
SM9EncUserPrivateKeySpec.USAGE_KEM or SM9EncUserPrivateKeySpec.USAGE_DECRYPTION for a KEM /
decryption key declared for one of the two, SM9EncUserPrivateKeySpec.USAGE_UNSPECIFIED for one declared for
neither, and SM9EncPrivateKeyParameters.USAGE_KEY_EXCHANGE for a key-exchange key, which
SM9EncUserPrivateKeySpec.isExchangeKey() reports as well.
SM9EncMasterPrivateKeyParameters.HID.
HAETAEParameters parameter set the key belongs to.SM9EncMasterPrivateKeyParameters.HID; the KGC's published choice governs).
HPKEContextWithEncapsulation subclass — by one of the
(sender) factories.
HPKEContext that additionally carries the
octet string produced by the KEM's encapsulation step.
Haetae.Mappings.configure(org.bouncycastle.jcajce.provider.config.ConfigurableProvider) populates the
provider's KeyFactory, KeyPairGenerator and Signature service tables with
the unparameterised form plus per-parameter-set aliases
( / / ) and their OID
aliases.HaetaeParameterSpec so callers can identify which
HAETAE parameter set the key belongs to.KeyFactorySpi for HAETAE. KeyPairGenerator SPI for HAETAE. AlgorithmParameterSpec for the HAETAE PQC signature scheme (KpqC).
HashMLDSASigner.generateSignature(byte[]) /
HashMLDSASigner.verifySignature(byte[], byte[]). HawkParameters parameter set the key belongs to.HPKE.kem_MLKEM768_P256,
HPKE.kem_MLKEM1024_P384). HPKE.kem_MLKEM768_P256,
HPKE.kem_MLKEM1024_P384): the ML-KEM encapsulation key followed by the
uncompressed curve point, which is also its serialized form.SM9Signer now does without this method, hashing the
message as it is given rather than taking M || w in one array.
PrecompLvl1#HD_EXTRA_TORSION.
IOException wrapper around an exception indicating an invalid ciphertext, such as in
authentication failure during finalisation of an AEAD cipher. X509ObjectIdentifiers.id_ce_ct_embeddedSCTList.
BCObjectIdentifiers.id_rcd.
BCObjectIdentifiers.id_rcd.
BCObjectIdentifiers.id_rcd.
BCObjectIdentifiers.id_rcd.
BCObjectIdentifiers.id_rcd.
ParametersWithIV providing a
KeyParameter and a nonce, or an AEADParameters carrying the key, nonce and
desired MAC size.
ParametersWithIV providing a KeyParameter
and a nonce.
CryptoServicesRegistrar source when signing.
AsymmetricBlockCipher.initDecrypt(Key, AlgorithmParameterSpec).
AsymmetricHybridCipher.initEncrypt(Key, AlgorithmParameterSpec, SecureRandom).
AsymmetricHybridCipher.initEncrypt(Key, AlgorithmParameterSpec, SecureRandom).
GF16.innerProduct(byte[], int, byte[], int, int).
MLKEMGenerator.internalGenerateEncapsulated(MLKEMPublicKeyParameters, byte[]) instead.
GF16.inv(byte)).
GF16.inv(byte).
SM9EncMasterPrivateKeyParameters.generateExchangeKey(byte[]))
rather than for KEM / decryption.
CryptoServicesRegistrar.setSecureRandom(SecureRandom)
or CryptoServicesRegistrar.setSecureRandomProvider(SecureRandomProvider), false if CryptoServicesRegistrar.getSecureRandom() would
return the library's own default.
Nat256.isZero(int[])
instead: an element is 0 exactly when its Montgomery form is.
JPAKEParticipant that uses
the JPAKEPrimeOrderGroups.NIST_3072 prime order group,
a SHA-256 digest, and a default SecureRandom implementation.
JPAKEParticipant that uses
a SHA-256 digest and a default SecureRandom implementation.
JPAKEParticipant.
JPAKEPrimeOrderGroup.
KBKDFParameterSpec.KMACKDFParameterSpec.EncapsulatedSecretGenerator and EncapsulatedSecretExtractorPack.longToBigEndian(long, byte[], int) would put at bs[off] to
bs[off + 2], and drops the other five.
Pack.longToBigEndian(long, byte[], int) would put at bs[off + 5] to
bs[off + 7], and drops the other five.
ECPoints used for a fixed point multiplication.
AlgorithmIdentifier.
GF16.mul(byte, byte)).
GF16.mul(byte, byte).
GF16.mul(int, int).
ECPoint.AbstractF2m
by k using the reduced τ-adic NAF (RTNAF)
method.
SM9EncMasterPublicKeyParameters.recipientPoint(byte[], byte)
gives, and a secret r in [1, N-1]: the C1 = [r]Q_B that encryption and encapsulation send
(GM/T 0044.4-2016), and the R = [r]Q_peer the key exchange sends (GM/T 0044.3-2016).
ECAlgorithms.multiplySecret(ECPoint, BigInteger), with the group order supplied rather than
taken from the curve.
SecretWithEncapsulation as encapsulation.JcaJceHelper that obtains all algorithms using a specific named provider.OneStepKDFParameterSpec.OwlClient that uses
the OwlCurves.NIST_P256 elliptic curve,
a SHA-256 digest, and a default SecureRandom implementation.
OwlClient that uses
a SHA-256 digest and a default SecureRandom implementation.
OwlClient.
OwlClientRegistration that uses
the OwlCurves.NIST_P256 elliptic curve,
a SHA-256 digest, and a default SecureRandom implementation.
OwlClientRegistration that uses
a SHA-256 digest and a default SecureRandom implementation.
OwlClientRegistration.
OwlCurve.
OwlServerRegistration during the user registration of a Owl exchange.
OwlClientRegistration, during the user registration phase of an Owl exchange.
OwlClient and OwlServer create and send an instance
of this payload to the other.
OwlServer that uses
the OwlCurves.NIST_P256 elliptic curve,
a SHA-256 digest, and a default SecureRandom implementation.
OwlServer that uses
a SHA-256 digest and a default SecureRandom implementation.
OwlServer.
OwlServerRegistration that uses
the OwlCurves.NIST_P256 elliptic curve,
a SHA-256 digest, and a default SecureRandom implementation.
OwlServerRegistration that uses
a SHA-256 digest and a default SecureRandom implementation.
OwlServerRegistration.
CipherSpiExt.ENCRYPT_MODE or
CipherSpiExt.DECRYPT_MODE).
QuantumVulnerableConstraint.legacyUseOnly().
QuantumVulnerableConstraint.logOnly().
QuantumVulnerableConstraint.QuantumVulnerableConstraint().
QuantumVulnerableConstraint.rejectAll().
PBEKey stored
in a BCFKS keystore.
org.bouncycastle.pqc.crypto.ntru.JcaJceHelper that obtains all algorithms from a specific Provider instance.Fp12.powSecure(java.math.BigInteger), of a PUBLIC base that is raised to
one exponent after another - for SM9, the pairing value a master public key fixes, which
signing, encryption, encapsulation and the key exchange raise to their nonce or ephemeral: by
Lim and Lee's comb, over two tables of thirty-two powers of this element each that the first
call makes and this element keeps, 24 KB of values anyone who knows the base can compute.
QRUOVParameters parameter set the key belongs to.ETSIQCObjectIdentifiers.id_etsi_qcs_QcType.
PrecompLvl1#QUAT_REPRES_BOUND_INPUT.
RSABlindSignatureClient.RSABlindSignatureClient(RSABlindSignatureParameters, RSAKeyParameters, SecureRandom)
with a SecureRandom obtained from CryptoServicesRegistrar.
RSABlindSignatureClient.blind(byte[]).
RSAKEMExtractor.RSAKEMExtractor(RSAKeyParameters, int, DerivationFunction, SecureRandom)
with a SecureRandom obtained from CryptoServicesRegistrar.
SM9P256V1Field.random(java.security.SecureRandom, int[]) draws them; if none of a thousand of
them is other than 0, it throws IllegalStateException.
SM9EncPrivateKeyParameters.USAGE_KEM or
SM9EncPrivateKeyParameters.USAGE_DECRYPTION - refusing it if it may not be used for that.
PKIXCRLValidator.checkDistributionPointName(org.bouncycastle.asn1.x509.IssuingDistributionPoint, org.bouncycastle.asn1.x509.DistributionPoint, org.bouncycastle.asn1.x500.X500Name, org.bouncycastle.asn1.x500.X500Name) will need the CRL issuer name for the
passed in issuing distribution point - i.e. its distribution point name is relative to
the CRL issuer.
PKIXCRLValidator.checkDistributionPointName(org.bouncycastle.asn1.x509.IssuingDistributionPoint, org.bouncycastle.asn1.x509.DistributionPoint, org.bouncycastle.asn1.x500.X500Name, org.bouncycastle.asn1.x500.X500Name) will need the certificate issuer name
for the passed in issuing distribution point and distribution point - i.e. the DP name is
relative to the CRL issuer and the DP carries no cRLIssuer to resolve it against.
SM9Engine.Mode.SM4).
SM9P256V1Field. SM9P256V1Curve.
SM9P256V1Field).SM9P256V1Field.
Signature
verifies against. SQIsignKeyGenLvl1.protocolsKeygenFull(java.security.SecureRandom).PKCSObjectIdentifiers.secretBag).
ShamirSecretSplitter.Mode. Use
#getInstance(Algorithm, int, SecureRandom).
#getInstance(Algorithm, int, SecureRandom),
which takes no mode.ShamirSecretSplitter.Mode. Use
ShamirSplitSecret.getInstance(ShamirSecretSplitter.Algorithm, ShamirSplitSecretShare[]).
Signature SPI for HAETAE. Threefish tweakable block cipher.
Threefish tweakable block cipher.
Threefish tweakable block cipher.
SkeinParameterSpec.SkeinParameters.SmaugTParameters parameter set the key belongs to.SkeinParameters.PARAM_TYPE_KEY parameter.
SkeinParameterSpec.PARAM_TYPE_KEY parameter.
SkeinParameters.PARAM_TYPE_KEY_IDENTIFIER parameter.
SkeinParameterSpec.PARAM_TYPE_KEY_IDENTIFIER parameter.
SkeinParameters.PARAM_TYPE_NONCE parameter.
SkeinParameterSpec.PARAM_TYPE_NONCE parameter.
SkeinParameters.PARAM_TYPE_PERSONALISATION parameter.
SkeinParameterSpec.PARAM_TYPE_PERSONALISATION parameter.
SkeinParameters.PARAM_TYPE_KEY_IDENTIFIER parameter.
SkeinParameterSpec.PARAM_TYPE_KEY_IDENTIFIER parameter.
SM9P256V1Point refuses to write the compressed form the
curve could not read back.
SM9P256V1Field.square(int[], int[]) n
times instead.
SM9EncMasterPublicKeyParameters.multiplyRecipientPoint(byte[], byte, java.math.BigInteger)).
TBSCertificate, substituting the SubjectPublicKeyInfo with the
supplied hash.
PrecompLvl1#TORSION_EVEN_POWER.
PrecompLvl1#TORSION_PLUS_2POWER.
SM9P256V1Field.add(int[], int[], int[])
with x as both operands instead.
SM9EncPrivateKeyParameters.recordUsage(int) checks.
SM9EncPrivateKeyParameters.recordUsage(int) checks.
SM9EncMasterPrivateKeyParameters.generateExchangeKey(byte[]) derives and
SM9EncPrivateKeyParameters.fromEncodedExchangeKey(byte[], org.bouncycastle.crypto.params.SM9EncMasterPublicKeyParameters, byte[]) imports one.
SM9EncPrivateKeyParameters.recordUsage(int).
OutputStream is never
closed in some particular context - typically when wrapped by another OutputStream that
should not be forwarding its OutputStream.close() calls. ECJPAKEUtil.calculateZeroKnowledgeProof(ECPoint, BigInteger, BigInteger, ECPoint, Digest, String, SecureRandom))
is correct.
JPAKEUtil.calculateZeroKnowledgeProof(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, String, Digest, SecureRandom))
is correct.
MLDSASigner.generateMu() returns on the signing side for the same key,
context and message.
HashMLDSASigner.generateSignature(byte[]).
BlockPool for the generator to source its
working blocks from.
Extension and ExtensionsX509Store SPI implementation for certificate
pairs.KTSParameterSpec (AES-KWP with a 256-bit key and the default KDF when none is given).
|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||