From b2446db9cce193ce942894899eacc76db8b37b14 Mon Sep 17 00:00:00 2001
From: David Hook
* BSI TR-03110 * Technical Guideline Advanced Security Mechanisms for Machine Readable Travel Documents diff --git a/core/src/main/java/org/bouncycastle/asn1/isismtt/x509/AdmissionSyntax.java b/core/src/main/java/org/bouncycastle/asn1/isismtt/x509/AdmissionSyntax.java index 538a2d0cdd..2aed65f4a3 100644 --- a/core/src/main/java/org/bouncycastle/asn1/isismtt/x509/AdmissionSyntax.java +++ b/core/src/main/java/org/bouncycastle/asn1/isismtt/x509/AdmissionSyntax.java @@ -67,8 +67,8 @@ * component namingAuthorityId are grouped under the OID-branch * id-isis-at-namingAuthorities and must be applied for. *
- * For further details see: http://www.ietf.org/rfc/rfc3657.txt. + * For further details see: https://www.ietf.org/rfc/rfc3657.txt. */ public class CamelliaWrapEngine extends RFC3394WrapEngine diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/DESedeWrapEngine.java b/core/src/main/java/org/bouncycastle/crypto/engines/DESedeWrapEngine.java index 9db5b427be..c8a1cb3902 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/DESedeWrapEngine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/DESedeWrapEngine.java @@ -305,7 +305,7 @@ public byte[] unwrap(byte[] in, int inOff, int inLen) * - Compute the 20 octet SHA-1 hash on the key being wrapped. * - Use the first 8 octets of this hash as the checksum value. * - * For details see http://www.w3.org/TR/xmlenc-core/#sec-CMSKeyChecksum. + * For details see https://www.w3.org/TR/xmlenc-core/#sec-CMSKeyChecksum. * * @param key the key to check, * @return the CMS checksum. @@ -325,7 +325,7 @@ private byte[] calculateCMSKeyChecksum( } /** - * For details see http://www.w3.org/TR/xmlenc-core/#sec-CMSKeyChecksum + * For details see https://www.w3.org/TR/xmlenc-core/#sec-CMSKeyChecksum * * @param key key to be validated. * @param checksum the checksum. diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/HC128Engine.java b/core/src/main/java/org/bouncycastle/crypto/engines/HC128Engine.java index 7d18d6235c..64c7836284 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/HC128Engine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/HC128Engine.java @@ -12,12 +12,12 @@ * generates keystream from a 128-bit secret key and a 128-bit initialization * vector. *
- * http://www.ecrypt.eu.org/stream/p3ciphers/hc/hc128_p3.pdf + * https://www.ecrypt.eu.org/stream/p3ciphers/hc/hc128_p3.pdf *
* It is a third phase candidate in the eStream contest, and is patent-free. * No attacks are known as of today (April 2007). See * - * http://www.ecrypt.eu.org/stream/hcp3.html + * https://www.ecrypt.eu.org/stream/hcp3.html *
*/ public class HC128Engine diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/HC256Engine.java b/core/src/main/java/org/bouncycastle/crypto/engines/HC256Engine.java index a74164aedc..b7fd5bab37 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/HC256Engine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/HC256Engine.java @@ -12,13 +12,13 @@ * generates keystream from a 256-bit secret key and a 256-bit initialization * vector. *- * http://www.ecrypt.eu.org/stream/p3ciphers/hc/hc256_p3.pdf + * https://www.ecrypt.eu.org/stream/p3ciphers/hc/hc256_p3.pdf *
* Its brother, HC-128, is a third phase candidate in the eStream contest. * The algorithm is patent-free. No attacks are known as of today (April 2007). * See * - * http://www.ecrypt.eu.org/stream/hcp3.html + * https://www.ecrypt.eu.org/stream/hcp3.html *
*/ public class HC256Engine diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/ISAACEngine.java b/core/src/main/java/org/bouncycastle/crypto/engines/ISAACEngine.java index d2dd265717..596cda3cec 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/ISAACEngine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/ISAACEngine.java @@ -9,7 +9,7 @@ /** * Implementation of Bob Jenkin's ISAAC (Indirection Shift Accumulate Add and Count). - * see: http://www.burtleburtle.net/bob/rand/isaacafa.html + * see: https://www.burtleburtle.net/bob/rand/isaacafa.html */ public class ISAACEngine implements StreamCipher diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/NaccacheSternEngine.java b/core/src/main/java/org/bouncycastle/crypto/engines/NaccacheSternEngine.java index a5403fac27..dfeab15fb0 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/NaccacheSternEngine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/NaccacheSternEngine.java @@ -2,7 +2,6 @@ import java.math.BigInteger; import java.util.Vector; -import org.bouncycastle.util.Arrays; import org.bouncycastle.crypto.AsymmetricBlockCipher; import org.bouncycastle.crypto.CipherParameters; @@ -11,10 +10,11 @@ import org.bouncycastle.crypto.params.NaccacheSternKeyParameters; import org.bouncycastle.crypto.params.NaccacheSternPrivateKeyParameters; import org.bouncycastle.crypto.params.ParametersWithRandom; +import org.bouncycastle.util.Arrays; /** * NaccacheStern Engine. For details on this cipher, please see - * http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf + * https://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf */ public class NaccacheSternEngine implements AsymmetricBlockCipher diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/RC2WrapEngine.java b/core/src/main/java/org/bouncycastle/crypto/engines/RC2WrapEngine.java index 52bc031a4d..98208b4a8e 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/RC2WrapEngine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/RC2WrapEngine.java @@ -351,7 +351,7 @@ public byte[] unwrap(byte[] in, int inOff, int inLen) * - Compute the 20 octet SHA-1 hash on the key being wrapped. * - Use the first 8 octets of this hash as the checksum value. * - * For details see http://www.w3.org/TR/xmlenc-core/#sec-CMSKeyChecksum + * For details see https://www.w3.org/TR/xmlenc-core/#sec-CMSKeyChecksum */ private byte[] calculateCMSKeyChecksum( byte[] key) @@ -367,7 +367,7 @@ private byte[] calculateCMSKeyChecksum( } /* - * For details see http://www.w3.org/TR/xmlenc-core/#sec-CMSKeyChecksum + * For details see https://www.w3.org/TR/xmlenc-core/#sec-CMSKeyChecksum */ private boolean checkCMSKeyChecksum( byte[] key, diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/RC532Engine.java b/core/src/main/java/org/bouncycastle/crypto/engines/RC532Engine.java index 9fb6f55018..d361d1da20 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/RC532Engine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/RC532Engine.java @@ -8,7 +8,7 @@ /** * The specification for RC5 came from theRC5 Encryption Algorithm
* publication in RSA CryptoBytes, Spring of 1995.
- * http://www.rsasecurity.com/rsalabs/cryptobytes.
+ * https://www.rsasecurity.com/rsalabs/cryptobytes.
* * This implementation has a word size of 32 bits. *
diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/RC564Engine.java b/core/src/main/java/org/bouncycastle/crypto/engines/RC564Engine.java
index 2121a4bcee..dd4cc65d75 100644
--- a/core/src/main/java/org/bouncycastle/crypto/engines/RC564Engine.java
+++ b/core/src/main/java/org/bouncycastle/crypto/engines/RC564Engine.java
@@ -7,7 +7,7 @@
/**
* The specification for RC5 came from the RC5 Encryption Algorithm
* publication in RSA CryptoBytes, Spring of 1995.
- * http://www.rsasecurity.com/rsalabs/cryptobytes.
+ * https://www.rsasecurity.com/rsalabs/cryptobytes.
*
* This implementation is set to work with a 64 bit word size. *
diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/RFC3394WrapEngine.java b/core/src/main/java/org/bouncycastle/crypto/engines/RFC3394WrapEngine.java index d2886e7202..e72f2b8a01 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/RFC3394WrapEngine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/RFC3394WrapEngine.java @@ -14,7 +14,7 @@ * an implementation of the AES Key Wrapper from the NIST Key Wrap * Specification as described in RFC 3394. *
- * For further details see: http://www.ietf.org/rfc/rfc3394.txt + * For further details see: https://www.ietf.org/rfc/rfc3394.txt * and http://csrc.nist.gov/encryption/kms/key-wrap.pdf. */ public class RFC3394WrapEngine diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/SEEDWrapEngine.java b/core/src/main/java/org/bouncycastle/crypto/engines/SEEDWrapEngine.java index 5b65b00cd6..54a358856f 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/SEEDWrapEngine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/SEEDWrapEngine.java @@ -3,7 +3,7 @@ /** * An implementation of the SEED key wrapper based on RFC 4010/RFC 3394. *
- * For further details see: http://www.ietf.org/rfc/rfc4010.txt. + * For further details see: https://www.ietf.org/rfc/rfc4010.txt. */ public class SEEDWrapEngine extends RFC3394WrapEngine diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/SerpentEngine.java b/core/src/main/java/org/bouncycastle/crypto/engines/SerpentEngine.java index 4a20ea41a0..63bac69658 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/SerpentEngine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/SerpentEngine.java @@ -10,7 +10,7 @@ * Serpent was designed by Ross Anderson, Eli Biham and Lars Knudsen as a * candidate algorithm for the NIST AES Quest. *
- * For full details see The Serpent home page + * For full details see The Serpent home page */ public final class SerpentEngine extends SerpentEngineBase diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/TnepresEngine.java b/core/src/main/java/org/bouncycastle/crypto/engines/TnepresEngine.java index a34e01624a..a59f455392 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/TnepresEngine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/TnepresEngine.java @@ -12,7 +12,7 @@ * with test vectors in the AES submission and the resulting confusion lead to the Tnepres cipher * as well, which is a byte swapped version of Serpent. *
- * For full details see The Serpent home page + * For full details see The Serpent home page */ public final class TnepresEngine extends SerpentEngineBase diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/Zuc128Engine.java b/core/src/main/java/org/bouncycastle/crypto/engines/Zuc128Engine.java index 9ee3f08ede..9c2f447d60 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/Zuc128Engine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/Zuc128Engine.java @@ -4,7 +4,7 @@ /** * Zuc256 implementation. - * Based on http://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf + * Based on https://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf */ public final class Zuc128Engine extends Zuc128CoreEngine diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/Zuc256CoreEngine.java b/core/src/main/java/org/bouncycastle/crypto/engines/Zuc256CoreEngine.java index c0c90c6c1f..c42a72ef3a 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/Zuc256CoreEngine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/Zuc256CoreEngine.java @@ -4,7 +4,7 @@ /** * Zuc256 implementation. - * Based on http://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf + * Based on https://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf */ public class Zuc256CoreEngine extends Zuc128CoreEngine diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/Zuc256Engine.java b/core/src/main/java/org/bouncycastle/crypto/engines/Zuc256Engine.java index 2e5853ae18..c80610c675 100644 --- a/core/src/main/java/org/bouncycastle/crypto/engines/Zuc256Engine.java +++ b/core/src/main/java/org/bouncycastle/crypto/engines/Zuc256Engine.java @@ -4,7 +4,7 @@ /** * Zuc256 implementation. - * Based on http://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf + * Based on https://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf */ public final class Zuc256Engine extends Zuc256CoreEngine diff --git a/core/src/main/java/org/bouncycastle/crypto/generators/NaccacheSternKeyPairGenerator.java b/core/src/main/java/org/bouncycastle/crypto/generators/NaccacheSternKeyPairGenerator.java index 7d4b90b3fe..3ab1742b5f 100644 --- a/core/src/main/java/org/bouncycastle/crypto/generators/NaccacheSternKeyPairGenerator.java +++ b/core/src/main/java/org/bouncycastle/crypto/generators/NaccacheSternKeyPairGenerator.java @@ -15,7 +15,7 @@ /** * Key generation parameters for NaccacheStern cipher. For details on this cipher, please see * - * http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf + * https://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf */ public class NaccacheSternKeyPairGenerator implements AsymmetricCipherKeyPairGenerator diff --git a/core/src/main/java/org/bouncycastle/crypto/generators/PKCS12ParametersGenerator.java b/core/src/main/java/org/bouncycastle/crypto/generators/PKCS12ParametersGenerator.java index d9b82c323e..eb2756de42 100644 --- a/core/src/main/java/org/bouncycastle/crypto/generators/PKCS12ParametersGenerator.java +++ b/core/src/main/java/org/bouncycastle/crypto/generators/PKCS12ParametersGenerator.java @@ -11,7 +11,7 @@ * Generator for PBE derived keys and ivs as defined by PKCS 12 V1.0. *
* The document this implementation is based on can be found at - * + * * RSA's PKCS12 Page */ public class PKCS12ParametersGenerator diff --git a/core/src/main/java/org/bouncycastle/crypto/generators/PKCS5S1ParametersGenerator.java b/core/src/main/java/org/bouncycastle/crypto/generators/PKCS5S1ParametersGenerator.java index 1c62eccc23..758a3f9adb 100644 --- a/core/src/main/java/org/bouncycastle/crypto/generators/PKCS5S1ParametersGenerator.java +++ b/core/src/main/java/org/bouncycastle/crypto/generators/PKCS5S1ParametersGenerator.java @@ -12,7 +12,7 @@ * digest used to drive it. *
* The document this implementation is based on can be found at - * + * * RSA's PKCS5 Page */ public class PKCS5S1ParametersGenerator diff --git a/core/src/main/java/org/bouncycastle/crypto/generators/PKCS5S2ParametersGenerator.java b/core/src/main/java/org/bouncycastle/crypto/generators/PKCS5S2ParametersGenerator.java index 383872fb60..4799248d62 100644 --- a/core/src/main/java/org/bouncycastle/crypto/generators/PKCS5S2ParametersGenerator.java +++ b/core/src/main/java/org/bouncycastle/crypto/generators/PKCS5S2ParametersGenerator.java @@ -14,7 +14,7 @@ * This generator uses a SHA-1 HMac as the calculation function. *
* The document this implementation is based on can be found at - * + * * RSA's PKCS5 Page */ public class PKCS5S2ParametersGenerator diff --git a/core/src/main/java/org/bouncycastle/crypto/macs/Zuc128Mac.java b/core/src/main/java/org/bouncycastle/crypto/macs/Zuc128Mac.java index d50669ce37..199ac23faf 100644 --- a/core/src/main/java/org/bouncycastle/crypto/macs/Zuc128Mac.java +++ b/core/src/main/java/org/bouncycastle/crypto/macs/Zuc128Mac.java @@ -6,7 +6,7 @@ /** * Zuc128 Mac implementation. - * Based on http://www.qtc.jp/3GPP/Specs/eea3eia3specificationv16.pdf + * Based on https://www.qtc.jp/3GPP/Specs/eea3eia3specificationv16.pdf */ public final class Zuc128Mac implements Mac diff --git a/core/src/main/java/org/bouncycastle/crypto/macs/Zuc256Mac.java b/core/src/main/java/org/bouncycastle/crypto/macs/Zuc256Mac.java index 6d45b1f5a3..26313d5310 100644 --- a/core/src/main/java/org/bouncycastle/crypto/macs/Zuc256Mac.java +++ b/core/src/main/java/org/bouncycastle/crypto/macs/Zuc256Mac.java @@ -6,7 +6,7 @@ /** * Zuc256 Mac implementation. - * Based on http://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf + * Based on https://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf */ public final class Zuc256Mac implements Mac diff --git a/core/src/main/java/org/bouncycastle/crypto/modes/EAXBlockCipher.java b/core/src/main/java/org/bouncycastle/crypto/modes/EAXBlockCipher.java index 3bb275b83d..18efa0a290 100644 --- a/core/src/main/java/org/bouncycastle/crypto/modes/EAXBlockCipher.java +++ b/core/src/main/java/org/bouncycastle/crypto/modes/EAXBlockCipher.java @@ -15,7 +15,7 @@ * A Two-Pass Authenticated-Encryption Scheme Optimized for Simplicity and * Efficiency - by M. Bellare, P. Rogaway, D. Wagner. * - * http://www.cs.ucdavis.edu/~rogaway/papers/eax.pdf + * https://www.cs.ucdavis.edu/~rogaway/papers/eax.pdf * * EAX is an AEAD scheme based on CTR and OMAC1/CMAC, that uses a single block * cipher to encrypt and authenticate data. It's on-line (the length of a diff --git a/core/src/main/java/org/bouncycastle/crypto/modes/G3413CBCBlockCipher.java b/core/src/main/java/org/bouncycastle/crypto/modes/G3413CBCBlockCipher.java index 97ba1f9b10..ca1973634d 100644 --- a/core/src/main/java/org/bouncycastle/crypto/modes/G3413CBCBlockCipher.java +++ b/core/src/main/java/org/bouncycastle/crypto/modes/G3413CBCBlockCipher.java @@ -8,7 +8,7 @@ /** * An implementation of the CBC mode for GOST 3412 2015 cipher. - * See GOST R 3413 2015 + * See GOST R 3413 2015 */ public class G3413CBCBlockCipher implements BlockCipher diff --git a/core/src/main/java/org/bouncycastle/crypto/modes/G3413CFBBlockCipher.java b/core/src/main/java/org/bouncycastle/crypto/modes/G3413CFBBlockCipher.java index 34afce2101..c356437219 100644 --- a/core/src/main/java/org/bouncycastle/crypto/modes/G3413CFBBlockCipher.java +++ b/core/src/main/java/org/bouncycastle/crypto/modes/G3413CFBBlockCipher.java @@ -9,7 +9,7 @@ /** * An implementation of the CFB mode for GOST 3412 2015 cipher. - * See GOST R 3413 2015 + * See GOST R 3413 2015 */ public class G3413CFBBlockCipher extends StreamBlockCipher diff --git a/core/src/main/java/org/bouncycastle/crypto/modes/G3413OFBBlockCipher.java b/core/src/main/java/org/bouncycastle/crypto/modes/G3413OFBBlockCipher.java index 148f382082..a9a0faf172 100644 --- a/core/src/main/java/org/bouncycastle/crypto/modes/G3413OFBBlockCipher.java +++ b/core/src/main/java/org/bouncycastle/crypto/modes/G3413OFBBlockCipher.java @@ -9,7 +9,7 @@ /** * An implementation of the OFB mode for GOST 3412 2015 cipher. - * See GOST R 3413 2015 + * See GOST R 3413 2015 */ public class G3413OFBBlockCipher extends StreamBlockCipher diff --git a/core/src/main/java/org/bouncycastle/crypto/modes/OCBBlockCipher.java b/core/src/main/java/org/bouncycastle/crypto/modes/OCBBlockCipher.java index 9a484fe6fe..c6641fc250 100644 --- a/core/src/main/java/org/bouncycastle/crypto/modes/OCBBlockCipher.java +++ b/core/src/main/java/org/bouncycastle/crypto/modes/OCBBlockCipher.java @@ -16,7 +16,7 @@ * An implementation of RFC 7253 on The OCB * Authenticated-Encryption Algorithm, licensed per: *
- *
License for + *License for * Open-Source Software Implementations of OCB (Jan 9, 2013) — “License 1”. * * @see "GF2nField" * @see GF2nPolynomialField diff --git a/core/src/test/data/rfc4134/rfc4134.txt b/core/src/test/data/rfc4134/rfc4134.txt index a53cec5e16..9aa176ba9b 100644 --- a/core/src/test/data/rfc4134/rfc4134.txt +++ b/core/src/test/data/rfc4134/rfc4134.txt @@ -7596,7 +7596,7 @@ Intellectual Property attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at - http://www.ietf.org/ipr. + https://www.ietf.org/ipr. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary diff --git a/core/src/test/java/org/bouncycastle/asn1/test/EncryptedPrivateKeyInfoTest.java b/core/src/test/java/org/bouncycastle/asn1/test/EncryptedPrivateKeyInfoTest.java index 053a81b51b..6d96971e3e 100644 --- a/core/src/test/java/org/bouncycastle/asn1/test/EncryptedPrivateKeyInfoTest.java +++ b/core/src/test/java/org/bouncycastle/asn1/test/EncryptedPrivateKeyInfoTest.java @@ -14,7 +14,7 @@ /** * Test the reading and writing of EncryptedPrivateKeyInfo objects using * the test vectors provided at - * + * * RSA's PKCS5 Page. *
* Under this license, you are authorized to make, use, and distribute open-source software * implementations of OCB. This license terminates for you if you sue someone over their open-source diff --git a/core/src/main/java/org/bouncycastle/crypto/modes/OpenPGPCFBBlockCipher.java b/core/src/main/java/org/bouncycastle/crypto/modes/OpenPGPCFBBlockCipher.java index 8ae1588a85..99f96b2130 100644 --- a/core/src/main/java/org/bouncycastle/crypto/modes/OpenPGPCFBBlockCipher.java +++ b/core/src/main/java/org/bouncycastle/crypto/modes/OpenPGPCFBBlockCipher.java @@ -11,7 +11,7 @@ * to the data stream already, and just accomodates the reset after * (blockSize + 2) bytes have been read. *- * For further info see RFC 2440. + * For further info see RFC 2440. */ public class OpenPGPCFBBlockCipher implements BlockCipher diff --git a/core/src/main/java/org/bouncycastle/crypto/modes/PGPCFBBlockCipher.java b/core/src/main/java/org/bouncycastle/crypto/modes/PGPCFBBlockCipher.java index 72f68caaae..b9739a0cb6 100644 --- a/core/src/main/java/org/bouncycastle/crypto/modes/PGPCFBBlockCipher.java +++ b/core/src/main/java/org/bouncycastle/crypto/modes/PGPCFBBlockCipher.java @@ -7,7 +7,7 @@ import org.bouncycastle.crypto.params.ParametersWithIV; /** - * Implements OpenPGP's rather strange version of Cipher-FeedBack (CFB) mode on top of a simple cipher. For further info see RFC 2440. + * Implements OpenPGP's rather strange version of Cipher-FeedBack (CFB) mode on top of a simple cipher. For further info see RFC 2440. */ public class PGPCFBBlockCipher implements BlockCipher diff --git a/core/src/main/java/org/bouncycastle/crypto/params/DESParameters.java b/core/src/main/java/org/bouncycastle/crypto/params/DESParameters.java index 5bee3604f2..061d134f6f 100644 --- a/core/src/main/java/org/bouncycastle/crypto/params/DESParameters.java +++ b/core/src/main/java/org/bouncycastle/crypto/params/DESParameters.java @@ -52,7 +52,7 @@ public DESParameters( * if the given DES key material is weak or semi-weak. * Key material that is too short is regarded as weak. *
- * See "Applied + * See "Applied * Cryptography" by Bruce Schneier for more information. * * @return true if the given DES key material is weak or semi-weak, diff --git a/core/src/main/java/org/bouncycastle/crypto/params/NaccacheSternKeyGenerationParameters.java b/core/src/main/java/org/bouncycastle/crypto/params/NaccacheSternKeyGenerationParameters.java index 758fcd79b7..ace103bbe1 100644 --- a/core/src/main/java/org/bouncycastle/crypto/params/NaccacheSternKeyGenerationParameters.java +++ b/core/src/main/java/org/bouncycastle/crypto/params/NaccacheSternKeyGenerationParameters.java @@ -8,7 +8,7 @@ * Parameters for NaccacheStern public private key generation. For details on * this cipher, please see * - * http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf + * https://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf */ public class NaccacheSternKeyGenerationParameters extends KeyGenerationParameters { diff --git a/core/src/main/java/org/bouncycastle/crypto/params/NaccacheSternKeyParameters.java b/core/src/main/java/org/bouncycastle/crypto/params/NaccacheSternKeyParameters.java index 21b6a286d0..329bdde1ad 100644 --- a/core/src/main/java/org/bouncycastle/crypto/params/NaccacheSternKeyParameters.java +++ b/core/src/main/java/org/bouncycastle/crypto/params/NaccacheSternKeyParameters.java @@ -6,7 +6,7 @@ * Public key parameters for NaccacheStern cipher. For details on this cipher, * please see * - * http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf + * https://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf */ public class NaccacheSternKeyParameters extends AsymmetricKeyParameter { diff --git a/core/src/main/java/org/bouncycastle/crypto/params/NaccacheSternPrivateKeyParameters.java b/core/src/main/java/org/bouncycastle/crypto/params/NaccacheSternPrivateKeyParameters.java index 6d0ec48682..a2d73fa825 100644 --- a/core/src/main/java/org/bouncycastle/crypto/params/NaccacheSternPrivateKeyParameters.java +++ b/core/src/main/java/org/bouncycastle/crypto/params/NaccacheSternPrivateKeyParameters.java @@ -7,7 +7,7 @@ * Private key parameters for NaccacheStern cipher. For details on this cipher, * please see * - * http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf + * https://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf */ public class NaccacheSternPrivateKeyParameters extends NaccacheSternKeyParameters { diff --git a/core/src/main/java/org/bouncycastle/pqc/crypto/ntru/NTRUSigner.java b/core/src/main/java/org/bouncycastle/pqc/crypto/ntru/NTRUSigner.java index 19bf802426..e7ddae2d5f 100644 --- a/core/src/main/java/org/bouncycastle/pqc/crypto/ntru/NTRUSigner.java +++ b/core/src/main/java/org/bouncycastle/pqc/crypto/ntru/NTRUSigner.java @@ -10,8 +10,8 @@ /** * Signs, verifies data and generates key pairs. * @deprecated the NTRUSigner algorithm was broken in 2012 by Ducas and Nguyen. See -* -* http://www.di.ens.fr/~ducas/NTRUSign_Cryptanalysis/DucasNguyen_Learning.pdf +* +* https://www.di.ens.fr/~ducas/NTRUSign_Cryptanalysis/DucasNguyen_Learning.pdf * for details. */ public class NTRUSigner diff --git a/core/src/main/java/org/bouncycastle/pqc/math/linearalgebra/GF2nPolynomialElement.java b/core/src/main/java/org/bouncycastle/pqc/math/linearalgebra/GF2nPolynomialElement.java index 36b20331a3..68a96041fb 100644 --- a/core/src/main/java/org/bouncycastle/pqc/math/linearalgebra/GF2nPolynomialElement.java +++ b/core/src/main/java/org/bouncycastle/pqc/math/linearalgebra/GF2nPolynomialElement.java @@ -9,7 +9,7 @@ * This class implements elements of finite binary fields GF(2n) * using polynomial representation. For more information on the arithmetic see * for example IEEE Standard 1363 or Certicom online-tutorial. + * href=https://www.certicom.com/research/online.html> Certicom online-tutorial
* The vectors are Base 64 encoded and encrypted using the password "password" diff --git a/core/src/test/java/org/bouncycastle/asn1/test/X500NameTest.java b/core/src/test/java/org/bouncycastle/asn1/test/X500NameTest.java index 74df61a9cb..1f8f7ec689 100644 --- a/core/src/test/java/org/bouncycastle/asn1/test/X500NameTest.java +++ b/core/src/test/java/org/bouncycastle/asn1/test/X500NameTest.java @@ -39,7 +39,7 @@ public class X500NameTest "E=cooke@issl.atl.hp.com,C=US,OU=Hewlett Packard Company (ISSL),CN=Paul A. Cooke", "O=Sun Microsystems Inc,CN=store.sun.com", "unstructuredAddress=192.168.1.33,unstructuredName=pixfirewall.ciscopix.com,CN=pixfirewall.ciscopix.com", - "CN=*.canal-plus.com,OU=Provided by TBS INTERNET http://www.tbs-certificats.com/,OU=\\ CANAL \\+,O=CANAL\\+DISTRIBUTION,L=issy les moulineaux,ST=Hauts de Seine,C=FR", + "CN=*.canal-plus.com,OU=Provided by TBS INTERNET https://www.tbs-certificats.com/,OU=\\ CANAL \\+,O=CANAL\\+DISTRIBUTION,L=issy les moulineaux,ST=Hauts de Seine,C=FR", "O=Bouncy Castle,CN=www.bouncycastle.org\\ ", "O=Bouncy Castle,CN=c:\\\\fred\\\\bob", "C=0,O=1,OU=2,T=3,CN=4,SERIALNUMBER=5,STREET=6,SERIALNUMBER=7,L=8,ST=9,SURNAME=10,GIVENNAME=11,INITIALS=12," + diff --git a/core/src/test/java/org/bouncycastle/asn1/test/X509NameTest.java b/core/src/test/java/org/bouncycastle/asn1/test/X509NameTest.java index c20588d382..9281fe3666 100644 --- a/core/src/test/java/org/bouncycastle/asn1/test/X509NameTest.java +++ b/core/src/test/java/org/bouncycastle/asn1/test/X509NameTest.java @@ -40,7 +40,7 @@ public class X509NameTest "E=cooke@issl.atl.hp.com,C=US,OU=Hewlett Packard Company (ISSL),CN=Paul A. Cooke", "O=Sun Microsystems Inc,CN=store.sun.com", "unstructuredAddress=192.168.1.33,unstructuredName=pixfirewall.ciscopix.com,CN=pixfirewall.ciscopix.com", - "CN=*.canal-plus.com,OU=Provided by TBS INTERNET http://www.tbs-certificats.com/,OU=\\ CANAL \\+,O=CANAL\\+DISTRIBUTION,L=issy les moulineaux,ST=Hauts de Seine,C=FR", + "CN=*.canal-plus.com,OU=Provided by TBS INTERNET https://www.tbs-certificats.com/,OU=\\ CANAL \\+,O=CANAL\\+DISTRIBUTION,L=issy les moulineaux,ST=Hauts de Seine,C=FR", "O=Bouncy Castle,CN=www.bouncycastle.org\\ ", "O=Bouncy Castle,CN=c:\\\\fred\\\\bob" }; diff --git a/core/src/test/java/org/bouncycastle/crypto/test/BlowfishTest.java b/core/src/test/java/org/bouncycastle/crypto/test/BlowfishTest.java index 757788edb5..a31088371b 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/BlowfishTest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/BlowfishTest.java @@ -6,7 +6,7 @@ import org.bouncycastle.util.test.SimpleTest; /** - * blowfish tester - vectors from http://www.counterpane.com/vectors.txt + * blowfish tester - vectors from https://www.counterpane.com/vectors.txt */ public class BlowfishTest extends CipherTest diff --git a/core/src/test/java/org/bouncycastle/crypto/test/CAST5Test.java b/core/src/test/java/org/bouncycastle/crypto/test/CAST5Test.java index c651d87381..2ec1fb236b 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/CAST5Test.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/CAST5Test.java @@ -6,7 +6,7 @@ import org.bouncycastle.util.test.SimpleTest; /** - * cast tester - vectors from http://www.ietf.org/rfc/rfc2144.txt + * cast tester - vectors from https://www.ietf.org/rfc/rfc2144.txt */ public class CAST5Test extends CipherTest diff --git a/core/src/test/java/org/bouncycastle/crypto/test/CAST6Test.java b/core/src/test/java/org/bouncycastle/crypto/test/CAST6Test.java index ef035a5d87..4e29b19f58 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/CAST6Test.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/CAST6Test.java @@ -6,7 +6,7 @@ import org.bouncycastle.util.test.SimpleTest; /** - * cast6 tester - vectors from http://www.ietf.org/rfc/rfc2612.txt + * cast6 tester - vectors from https://www.ietf.org/rfc/rfc2612.txt */ public class CAST6Test extends CipherTest diff --git a/core/src/test/java/org/bouncycastle/crypto/test/CMacTest.java b/core/src/test/java/org/bouncycastle/crypto/test/CMacTest.java index 47160e7ca2..bf81f69638 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/CMacTest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/CMacTest.java @@ -18,7 +18,7 @@ import org.bouncycastle.util.test.SimpleTest; /** - * CMAC tester - Official Test Vectors. + * CMAC tester - Official Test Vectors. */ public class CMacTest extends SimpleTest diff --git a/core/src/test/java/org/bouncycastle/crypto/test/DESTest.java b/core/src/test/java/org/bouncycastle/crypto/test/DESTest.java index 08056fc46f..58a061534c 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/DESTest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/DESTest.java @@ -1,5 +1,7 @@ package org.bouncycastle.crypto.test; +import java.security.SecureRandom; + import org.bouncycastle.crypto.KeyGenerationParameters; import org.bouncycastle.crypto.engines.DESEngine; import org.bouncycastle.crypto.generators.DESKeyGenerator; @@ -12,8 +14,6 @@ import org.bouncycastle.util.encoders.Hex; import org.bouncycastle.util.test.SimpleTest; -import java.security.SecureRandom; - class DESParityTest extends SimpleTest { @@ -151,7 +151,7 @@ public void performTest() throws Exception } /** - * DES tester - vectors from FIPS 81 + * DES tester - vectors from FIPS 81 */ public class DESTest extends CipherTest diff --git a/core/src/test/java/org/bouncycastle/crypto/test/ECGOST3410Test.java b/core/src/test/java/org/bouncycastle/crypto/test/ECGOST3410Test.java index 291c305645..b9e55e37ee 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/ECGOST3410Test.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/ECGOST3410Test.java @@ -100,7 +100,7 @@ private void ecGOST3410_TEST() /** * Test Sign & Verify with test parameters - * see: http://www.ietf.org/internet-drafts/draft-popov-cryptopro-cpalgs-01.txt + * see: https://www.ietf.org/internet-drafts/draft-popov-cryptopro-cpalgs-01.txt * gostR3410-2001-TestParamSet P.46 */ private void ecGOST3410_TestParam() @@ -157,7 +157,7 @@ private void ecGOST3410_TestParam() /** * Test Sign & Verify with A parameters - * see: http://www.ietf.org/internet-drafts/draft-popov-cryptopro-cpalgs-01.txt + * see: https://www.ietf.org/internet-drafts/draft-popov-cryptopro-cpalgs-01.txt * gostR3410-2001-CryptoPro-A-ParamSet P.47 */ public void ecGOST3410_AParam() @@ -207,7 +207,7 @@ public void ecGOST3410_AParam() /** * Test Sign & Verify with B parameters - * see: http://www.ietf.org/internet-drafts/draft-popov-cryptopro-cpalgs-01.txt + * see: https://www.ietf.org/internet-drafts/draft-popov-cryptopro-cpalgs-01.txt * gostR3410-2001-CryptoPro-B-ParamSet P.47-48 */ private void ecGOST3410_BParam() @@ -257,7 +257,7 @@ private void ecGOST3410_BParam() /** * Test Sign & Verify with C parameters - * see: http://www.ietf.org/internet-drafts/draft-popov-cryptopro-cpalgs-01.txt + * see: https://www.ietf.org/internet-drafts/draft-popov-cryptopro-cpalgs-01.txt * gostR3410-2001-CryptoPro-C-ParamSet P.48 */ private void ecGOST3410_CParam() diff --git a/core/src/test/java/org/bouncycastle/crypto/test/HCFamilyTest.java b/core/src/test/java/org/bouncycastle/crypto/test/HCFamilyTest.java index 5604d9ccee..75083322cd 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/HCFamilyTest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/HCFamilyTest.java @@ -12,8 +12,8 @@ * HC-128 and HC-256 Tests. Based on the test vectors in the official reference * papers, respectively: *- * http://www.ecrypt.eu.org/stream/p3ciphers/hc/hc128_p3.pdf - * http://www.ecrypt.eu.org/stream/p3ciphers/hc/hc256_p3.pdf + * https://www.ecrypt.eu.org/stream/p3ciphers/hc/hc128_p3.pdf + * https://www.ecrypt.eu.org/stream/p3ciphers/hc/hc256_p3.pdf ** See HCFamilyVecTest for a more exhaustive test based on the ecrypt vectors. */ diff --git a/core/src/test/java/org/bouncycastle/crypto/test/HCFamilyVecTest.java b/core/src/test/java/org/bouncycastle/crypto/test/HCFamilyVecTest.java index 51247e6a38..fd66f61848 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/HCFamilyVecTest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/HCFamilyVecTest.java @@ -19,8 +19,8 @@ * HC-128 and HC-256 Tests. Based on the test vectors in the official reference * papers, respectively: * - * http://www.ecrypt.eu.org/stream/p3ciphers/hc/hc128_p3.pdf - * http://www.ecrypt.eu.org/stream/p3ciphers/hc/hc256_p3.pdf + * https://www.ecrypt.eu.org/stream/p3ciphers/hc/hc128_p3.pdf + * https://www.ecrypt.eu.org/stream/p3ciphers/hc/hc256_p3.pdf */ public class HCFamilyVecTest extends SimpleTest diff --git a/core/src/test/java/org/bouncycastle/crypto/test/ISAACTest.java b/core/src/test/java/org/bouncycastle/crypto/test/ISAACTest.java index 02319a38bf..7a940af1c9 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/ISAACTest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/ISAACTest.java @@ -6,7 +6,7 @@ import org.bouncycastle.util.test.SimpleTest; /** - * ISAAC Test - see http://www.burtleburtle.net/bob/rand/isaacafa.html + * ISAAC Test - see https://www.burtleburtle.net/bob/rand/isaacafa.html */ public class ISAACTest extends SimpleTest diff --git a/core/src/test/java/org/bouncycastle/crypto/test/KeccakDigestTest.java b/core/src/test/java/org/bouncycastle/crypto/test/KeccakDigestTest.java index fc566d3be9..22d6146c70 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/KeccakDigestTest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/KeccakDigestTest.java @@ -66,7 +66,7 @@ public class KeccakDigestTest "3e122edaf37398231cfaca4c7c216c9d66d5b899ec1d7ac617c40c7261906a45fc01617a021e5da3bd8d4182695b5cb785a28237cbb167590e34718e56d8aab8" }; - // test vectors from http://www.di-mgt.com.au/hmac_sha3_testvectors.html + // test vectors from https://www.di-mgt.com.au/hmac_sha3_testvectors.html final static byte[][] macKeys = { Hex.decode("0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b"), diff --git a/core/src/test/java/org/bouncycastle/crypto/test/MacTest.java b/core/src/test/java/org/bouncycastle/crypto/test/MacTest.java index 5b05a60807..d5e26c2891 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/MacTest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/MacTest.java @@ -5,16 +5,16 @@ import org.bouncycastle.crypto.engines.DESEngine; import org.bouncycastle.crypto.macs.CBCBlockCipherMac; import org.bouncycastle.crypto.macs.CFBBlockCipherMac; +import org.bouncycastle.crypto.paddings.PKCS7Padding; import org.bouncycastle.crypto.params.KeyParameter; import org.bouncycastle.crypto.params.ParametersWithIV; -import org.bouncycastle.crypto.paddings.PKCS7Padding; import org.bouncycastle.util.encoders.Hex; import org.bouncycastle.util.test.SimpleTest; /** * MAC tester - vectors from - * FIP 81 and - * FIP 113. + * FIP 81 and + * FIP 113. */ public class MacTest extends SimpleTest diff --git a/core/src/test/java/org/bouncycastle/crypto/test/NaccacheSternTest.java b/core/src/test/java/org/bouncycastle/crypto/test/NaccacheSternTest.java index 56e0e301a2..f85b231c91 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/NaccacheSternTest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/NaccacheSternTest.java @@ -17,7 +17,7 @@ /** * Test case for NaccacheStern cipher. For details on this cipher, please see * - * http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf + * https://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf * * Performs the following tests: *@@ -91,7 +91,7 @@ public class NaccacheSternTest decryptEng.setDebug(debug); // First the Parameters from the NaccacheStern Paper - // (see http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf ) + // (see https://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf ) smallPrimes.addElement(u1); smallPrimes.addElement(u2); diff --git a/core/src/test/java/org/bouncycastle/crypto/test/PKCS12Test.java b/core/src/test/java/org/bouncycastle/crypto/test/PKCS12Test.java index c5c7aa343c..a5402aeae0 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/PKCS12Test.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/PKCS12Test.java @@ -13,8 +13,8 @@ /** * test for PKCS12 key generation - vectors from - * - * http://www.drh-consultancy.demon.co.uk/test.txt + * + * https://www.drh-consultancy.demon.co.uk/test.txt */ public class PKCS12Test implements Test diff --git a/core/src/test/java/org/bouncycastle/crypto/test/PKCS5Test.java b/core/src/test/java/org/bouncycastle/crypto/test/PKCS5Test.java index 6145114e83..994d020872 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/PKCS5Test.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/PKCS5Test.java @@ -6,7 +6,6 @@ import org.bouncycastle.asn1.ASN1OctetString; import org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo; import org.bouncycastle.asn1.pkcs.EncryptionScheme; -import org.bouncycastle.asn1.pkcs.KeyDerivationFunc; import org.bouncycastle.asn1.pkcs.PBES2Parameters; import org.bouncycastle.asn1.pkcs.PBKDF2Params; import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; @@ -29,7 +28,7 @@ /** * A test class for PKCS5 PBES2 with PBKDF2 (PKCS5 v2.0) using * test vectors provider at - * + * * RSA's PKCS5 Page *
* The vectors are Base 64 encoded and encrypted using the password "password" diff --git a/core/src/test/java/org/bouncycastle/crypto/test/SCryptTest.java b/core/src/test/java/org/bouncycastle/crypto/test/SCryptTest.java index 4922407be5..334d676c35 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/SCryptTest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/SCryptTest.java @@ -12,7 +12,7 @@ /* * scrypt test vectors from "Stronger Key Derivation Via Sequential Memory-hard Functions" Appendix B. - * (http://www.tarsnap.com/scrypt/scrypt.pdf) + * (https://www.tarsnap.com/scrypt/scrypt.pdf) */ public class SCryptTest extends SimpleTest diff --git a/core/src/test/java/org/bouncycastle/crypto/test/SEEDTest.java b/core/src/test/java/org/bouncycastle/crypto/test/SEEDTest.java index 4aa955b2a7..e1b1831b05 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/SEEDTest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/SEEDTest.java @@ -6,7 +6,7 @@ import org.bouncycastle.util.test.SimpleTest; /** - * SEED tester - vectors http://www.ietf.org/rfc/rfc4009.txt + * SEED tester - vectors https://www.ietf.org/rfc/rfc4009.txt */ public class SEEDTest extends CipherTest diff --git a/core/src/test/java/org/bouncycastle/crypto/test/TEATest.java b/core/src/test/java/org/bouncycastle/crypto/test/TEATest.java index 98b0ec9a62..0f05237447 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/TEATest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/TEATest.java @@ -6,7 +6,7 @@ import org.bouncycastle.util.test.SimpleTest; /** - * TEA tester - based on C implementation results from http://www.simonshepherd.supanet.com/tea.htm + * TEA tester - based on C implementation results from https://www.simonshepherd.supanet.com/tea.htm */ public class TEATest extends CipherTest diff --git a/core/src/test/java/org/bouncycastle/crypto/test/XTEATest.java b/core/src/test/java/org/bouncycastle/crypto/test/XTEATest.java index 2b5279e940..33fa0f6a84 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/XTEATest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/XTEATest.java @@ -6,7 +6,7 @@ import org.bouncycastle.util.test.SimpleTest; /** - * TEA tester - based on C implementation results from http://www.simonshepherd.supanet.com/tea.htm + * TEA tester - based on C implementation results from https://www.simonshepherd.supanet.com/tea.htm */ public class XTEATest extends CipherTest diff --git a/core/src/test/java/org/bouncycastle/crypto/test/ZucTest.java b/core/src/test/java/org/bouncycastle/crypto/test/ZucTest.java index c973333b75..872f84983a 100644 --- a/core/src/test/java/org/bouncycastle/crypto/test/ZucTest.java +++ b/core/src/test/java/org/bouncycastle/crypto/test/ZucTest.java @@ -17,7 +17,7 @@ /** * Test Cases for Zuc128 and Zuc256. * Test Vectors taken from https://www.gsma.com/aboutus/wp-content/uploads/2014/12/eea3eia3zucv16.pdf for Zuc128 - * and http://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf for Zuc256. + * and https://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf for Zuc256. */ public class ZucTest extends SimpleTest diff --git a/docs/releasenotes.html b/docs/releasenotes.html index c06992a683..5f8582e87d 100644 --- a/docs/releasenotes.html +++ b/docs/releasenotes.html @@ -1972,7 +1972,7 @@2.57.2 Defects Fixed
2.57.3 Additional Functionality and Features
-
- The AESWrap ciphers will now take IV's. -
- The DES-EDEWrap algorithm described in http://www.ietf.org/internet-drafts/draft-ietf-smime-key-wrap-01.txt is now supported. +
- The DES-EDEWrap algorithm described in https://www.ietf.org/internet-drafts/draft-ietf-smime-key-wrap-01.txt is now supported.
- Support for the ExtendedKeyUsageExtension and the KeyPurposeId has been added.
- The OID based alias for DSA has been added to the JCE provider.
- BC key stores now implement the BCKeyStore interface so you can provide your own source of randomness to a key store. diff --git a/docs/specifications.html b/docs/specifications.html index dd44426fd9..3e1d2bb816 100644 --- a/docs/specifications.html +++ b/docs/specifications.html @@ -23,7 +23,7 @@
1.0 Introduction
based on the MIT X Consortium license. To view the license, see here. The OpenPGP library also includes a modified BZIP2 library which -is licensed under the Apache Software License, Version 2.0. +is licensed under the Apache Software License, Version 2.0.If you have the full package you will have six jar files, bcprov*.jar @@ -58,7 +58,7 @@
2.0 Patents
The BC distribution contains implementations of EC MQV as described in RFC 5753, "Use of ECC Algorithms in CMS". In line with the conditions in:
-http://www.ietf.org/ietf-ftp/IPR/certicom-ipr-rfc-5753.pdf +https://www.ietf.org/ietf-ftp/IPR/certicom-ipr-rfc-5753.pdfWe state, where EC MQV has not otherwise been disabled or removed: @@ -1066,7 +1066,7 @@7.0 BouncyCastle S/MIME
package (including the test classes) you need the jar files for the following APIs.-
diff --git a/index.html b/index.html index e78072d2d6..226cdc5443 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@- Junit - http://www.junit.org
+- Junit - https://www.junit.org
- JavaMail - http://java.sun.com/products/javamail/index.html
- The Java Activation Framework - http://java.sun.com/products/javabeans/glasgow/jaf.html
The Bouncy Castle Crypto Package
The Legion also gratefully acknowledges the contributions made to this package by others (see here -for the current list). If you would like to contribute to our efforts please feel free to get in touch with us or visit our donations page, sponsor some specific work, or purchase a support contract through Crypto Workshop. +for the current list). If you would like to contribute to our efforts please feel free to get in touch with us or visit our donations page, sponsor some specific work, or purchase a support contract through Crypto Workshop.
The package is organised so that it @@ -29,7 +29,7 @@
The Bouncy Castle Crypto Package
to conform the algorithms to the JCE framework.-Except where otherwise stated, this software is distributed under a license based on the MIT X Consortium license. To view the license, see here. The OpenPGP library also includes a modified BZIP2 library which is licensed under the Apache Software License, Version 2.0. +Except where otherwise stated, this software is distributed under a license based on the MIT X Consortium license. To view the license, see here. The OpenPGP library also includes a modified BZIP2 library which is licensed under the Apache Software License, Version 2.0.
The current release notes for this package are @@ -68,7 +68,7 @@
Examples and Tests
org.bouncycastle.x509.examples
Finally there are also code examples from Beginning Cryptography with Java which demonstrate both the use of the JCE/JCA and also some of the Bouncy Castle APIs.
+Finally there are also code examples from Beginning Cryptography with Java which demonstrate both the use of the JCE/JCA and also some of the Bouncy Castle APIs.
Note 1:The JCE classes are only distributed with the JDK 1.1, JDK 1.2, and JDK 1.3 JCE releases. The JDK 1.0, J2ME, and the JDK 1.1, JDK 1.2, JDK 1.3, JDK 1.4, and JDK 1.5 lightweight releases only include the @@ -103,7 +103,7 @@
Mailing Lists
NOTE:You need to be subscribed to send mail to the above mailing list.-If you want to provide feedback, directly to the members of The Legion then please use feedback-crypto@bouncycastle.org, if you want to help this project survive please consider donating or getting a support contract. +If you want to provide feedback, directly to the members of The Legion then please use feedback-crypto@bouncycastle.org, if you want to help this project survive please consider donating or getting a support contract.
Enjoy!