Version 2.1.0
Changes
Breaking changes
IKeyExchangePrivateKey
now inheritsIKeyExchange
- Added
SignedAttributes.PKI_SIGNATURE
SignedPkiStore.RevokeKey(Async)
will now revoke signed keys recursive, tooAsymmetricSignedPublicKey.Validate(Async)
will now validate attributes, too
Additions
- Added
IKeyExchange
PrivateKeySuite
impementsIKeyExchange
overKeyExchangeKey
nowPake
impementsIKeyExchange
nowEncryptionAlgorithmBase.DefaultOptions
is virtual now- Added
CryptoOptions.(Default)(Async)EncryptionPasswordPreProcessor
- Added
CryptoEnvironment.Options.(Async)EncryptionPasswordPreProcessor
- Added
CryptoOptions.SetNew(Mac)Password
- Added
SignedAttributes.ValidationOptions
- Added
SignedAttributes.AdditionalValidation(Async)
- Added
CryptoEnvironment.Options.DefaultAllowedValidationDomains
- Added
CryptoEnvironment.Options.DefaultDeniedValidationDomains
- Added
CryptoEnvironment.Options.DefaultAllowedKeyValidationApiUris
- Added
CryptoEnvironment.Options.DefaultDeniedKeyValidationApiUris
- Added
CryptoEnvironment.Options.DefaultAllowedUsages
- Added
CryptoEnvironment.Options.DefaultDeniedUsages
- Added
CryptoEnvironment.Options.DefaultRequiredUsages
- Added
CryptoEnvironment.Options.DefaultRequireKeyExchangeCounterKey
- Added
CryptoEnvironment.Options.DefaultRequireSignatureCounterKey
- Added
CryptoEnvironment.Options.DefaultRequireCipherSuite
- Added
CryptoEnvironment.Options.DefaultRequireSerial
- Added
SignedAttributes.Validate(Async)
AsymmetricSignedPublicKey.Validate(Async)
supports additional (deep) attribute validation now- Added
AsymmetricSignedPublicKeyTypes
PKI key type enumeration - Added
AsymmetricSignedPublicKey.Type
- Added
SignedPkiStore.GetSignedKeys(Async)
- Added
SignedPkiStore.GetKeyType(Async)
Fixed bugs
- Fixed encryption algorithm doesn't use encryption options when getting/ensuring the defaults
- Fixed missing call to
Dispose
on a key during asymmetric serialization tests - Fixed
CryptoOptionsFluentExtensions.WithoutPassword
didn't set thePassword
property value tonull
- Fixed
CryptoOptions.SetCounterKeys
overwroteAsymmetricAlgorithm
instead ofAsymmetricCounterAlgorithm
Full Changelog: v2.0.0...v2.1.0