4.3.0 (2021-06-17)
Features Added
- Changed default service version to
7.2
. - Added
KeyVaultKeyIdentifier
to parse key URLs. - Added local-only support for
CryptographyClient
andCryptographyAsyncClient
by providing aJsonWebKey
during client creation. - Added
KeyType.OCT-HSM
to support oct-HSM key operations to support Managed HSM. - Added the
CreateOctKeyOptions
class and associatedcreateOctKey()
methods. - Added AES-GCM and AES-CBC support for encrypting and decrypting, including new
Encrypt
andDecrypt
overloads. - Added the ability to set a public exponent on RSA keys during creation.
- Made all getters for properties of a
JsonWebKey
public.
Changes since 4.3.0-beta.8
Bug Fixes
- Ensured that
RetryPolicy
andHttpLogOptions
use a default implementation when creating Key Vault clients if not set or set tonull
.
New Features
- Added
createOctKey()
andcreateOctKeyWithResponse()
toKeyClient
andKeyAsyncClient
. - Added factory methods for RSA algorithms in
DecryptParameters
andEncryptParameters
:createRsa15Parameters()
createRsaOaepParameters()
createRsaOaep256Parameters()
Breaking Changes
- Removed
EXPORT
from theKeyOperation
enum. - Re-ordered parameters in the
EncryptResult
constructor to showauthenticationTag
beforeadditionalAuthenticatedData
to align with classes likeDecryptParameters
. - Removed service method overloads that take a
pollingInterval
, sincePollerFlux
andSyncPoller
objects allow for setting this value directly on them. - Moved
EncryptParameters
andDecryptParameters
from thecryptography
package to thecryptography.models
package and made them bothfinal
.
Non-Breaking
- Renamed
keyId
tosourceId
inKeyVaultKeyIdentifier
. KeyVaultKeyIdentifier
can now be used to parse any Key Vault identifier.- Added the
@ServiceMethod
annotation to all public methods that call the Key Vault service inKeyClient
,KeyAsyncClient
,CryptographyClient
andCryptographyAsyncClient
.