Skip to content

Version 2.1.0

Compare
Choose a tag to compare
@nd1012 nd1012 released this 10 Feb 20:40
· 48 commits to main since this release

Changes

Breaking changes

  • IKeyExchangePrivateKey now inherits IKeyExchange
  • Added SignedAttributes.PKI_SIGNATURE
  • SignedPkiStore.RevokeKey(Async) will now revoke signed keys recursive, too
  • AsymmetricSignedPublicKey.Validate(Async) will now validate attributes, too

Additions

  • Added IKeyExchange
  • PrivateKeySuite impements IKeyExchange over KeyExchangeKey now
  • Pake impements IKeyExchange now
  • EncryptionAlgorithmBase.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 the Password property value to null
  • Fixed CryptoOptions.SetCounterKeys overwrote AsymmetricAlgorithm instead of AsymmetricCounterAlgorithm

Full Changelog: v2.0.0...v2.1.0