Upgrading dev.whyoleg.cryptography:cryptography-random 0.5 to 0.6
Breaking0.5.0 → 0.6.0Breaking6Deprecated1New15Changed8Fixed2Other4
BreakingUpgrade verdict
6 breaking changes.
In plain terms
- The KeyGenerator class moved to a new package.
- The PEM label property was renamed.
- The ASN.1 AlgorithmIdentifier hierarchy no longer includes KeyAlgorithmIdentifier.
- Key encoding interfaces moved to a new package and were renamed.
Must act Top 4 of 7 that need code or config changes
What you must change
Breaking6
Renames dev.whyoleg.cryptography.materials.key.KeyGenerator to dev.whyoleg.cryptography.operations.KeyGenerator.
KeyGeneratorRenames PemLabel.representation to PemLabel.value in the cryptography-serialization-pem module.
PemLabel.representationPemLabel.valueRemoves KeyAlgorithmIdentifier from the ASN.1 module to simplify the AlgorithmIdentifier hierarchy.
AlgorithmIdentifierKeyAlgorithmIdentifierReplaces EncodableKey, KeyDecoder, and KeyFormat with Encodable, Decoder, and EncodingFormat in the materials package.
EncodableKeyKeyDecoderKeyFormatEncodableDecoderEncodingFormatMakes EC.PrivateKey and RSA.PrivateKey generic over their public key type.
EC.PrivateKeyRSA.PrivateKeyMoves AES.IvCipher, AES.IvAuthenticatedCipher, and related IV cipher interfaces to dev.whyoleg.cryptography.operations.
AES.IvCipherAES.IvAuthenticatedCipherIvCipherIvAuthenticatedCipherIvEncryptorIvDecryptorDeprecations to plan for
Deprecated1
Deprecates the dev.whyoleg.cryptography.materials.key.Key interface without replacement.
dev.whyoleg.cryptography.materials.key.Key