Skip to content

Commit

Permalink
* vm.Aspects.Security,Cryptography: Fixed a bug in `EncryptedKeyCiphe…
Browse files Browse the repository at this point in the history
…r.CloneCipher`

* vm.Aspects.Model: Fixed a bug in the DomainEntity and in the resolution of the HiLoStoreIdProvider.
  • Loading branch information
vmelamed committed Jan 13, 2016
1 parent 96bbb77 commit 69b4fec
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>AspectExpressionSerialization</id>
<version>1.0.25</version>
<version>1.0.26</version>
<authors>Val Melamed</authors>
<owners>Val Melamed</owners>
<summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
[assembly: AssemblyTitle("vm.Aspects.Linq.Expressions.Serialization")]
[assembly: AssemblyDescription("Serializes and deserializes LINQ expression trees to and from XML documents.")]

[assembly: AssemblyVersion("1.0.25")]
[assembly: AssemblyFileVersion("1.0.25")]
[assembly: AssemblyInformationalVersion("1.0.25")]
[assembly: AssemblyVersion("1.0.26")]
[assembly: AssemblyFileVersion("1.0.26")]
[assembly: AssemblyInformationalVersion("1.0.26")]

[assembly: InternalsVisibleTo(
"vm.Aspects.Linq.Expressions.Serialization.Test, " +
Expand Down
13 changes: 9 additions & 4 deletions Aspects/Model/EFRepository/HiLoIdentity/HiLoIdentityGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,21 @@ public class HiLoIdentityGenerator : BaseDomainEntity, IEquatable<HiLoIdentityGe
public const int EntitySetNameMaxLength = 100;

/// <summary>
/// The default value of the maximum value of the low value: 100
/// </summary>
public const int DefaultMaxLowValue = 1000;
/// The default value of the maximum value of the low value: DEBUG - 100, RELEASE - 1000.
/// </summary>
public const int DefaultMaxLowValue =
#if DEBUG
100;
#else
1000;
#endif
#endregion

#region Constructors
/// <summary>
/// Initializes a new instance of the <see cref="HiLoIdentityGenerator"/> class.
/// </summary>
public HiLoIdentityGenerator()
public HiLoIdentityGenerator(int maxLowValue = DefaultMaxLowValue)
{
MaxLowValue = DefaultMaxLowValue;
}
Expand Down
6 changes: 3 additions & 3 deletions Aspects/Model/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
[assembly: AssemblyTitle("vm.Aspect.Model")]
[assembly: AssemblyDescription("Defines the IRepository and related base classes and utilities - a framework of building domain object model.")]

[assembly: AssemblyVersion("1.0.25")]
[assembly: AssemblyFileVersion("1.0.25")]
[assembly: AssemblyInformationalVersion("1.0.25")]
[assembly: AssemblyVersion("1.0.26")]
[assembly: AssemblyFileVersion("1.0.26")]
[assembly: AssemblyInformationalVersion("1.0.26")]

[assembly: System.Runtime.CompilerServices.InternalsVisibleTo(
"vm.Aspects.Model.Tests, " +
Expand Down
5 changes: 3 additions & 2 deletions Aspects/NuGet/vm.Aspects.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>vm.Aspects</id>
<version>1.0.25-beta</version>
<version>1.0.26-beta</version>
<authors>Val Melamed</authors>
<owners>Val Melamed</owners>
<summary>
Expand All @@ -12,7 +12,8 @@
A set of classes, utilities, etc. addressing various common cross-cutting concerns or extending existing similar libraries like Enterprise Library, Unity, etc.
</description>
<releaseNotes>
vm.Aspects.Model: Fixed a bug in the DomainEntity and in the resolution of the HiLoStoreIdProvider.
* vm.Aspects.Security,Cryptography: Fixed a bug in `EncryptedKeyCipher.CloneCipher`
* vm.Aspects.Model: Fixed a bug in the DomainEntity and in the resolution of the HiLoStoreIdProvider.
</releaseNotes>
<licenseUrl>https://github.com/vmelamed/vm/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/vmelamed/vm/tree/master/Aspects</projectUrl>
Expand Down
6 changes: 3 additions & 3 deletions Aspects/Parsers/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
[assembly: AssemblyTitle("vm.Aspects.Parser")]
[assembly: AssemblyDescription("Text parsing readers, e.g. CSV/TSV reader.")]

[assembly: AssemblyVersion("1.0.25")]
[assembly: AssemblyFileVersion("1.0.25")]
[assembly: AssemblyInformationalVersion("1.0.25")]
[assembly: AssemblyVersion("1.0.26")]
[assembly: AssemblyFileVersion("1.0.26")]
[assembly: AssemblyInformationalVersion("1.0.26")]

[assembly: System.Runtime.CompilerServices.InternalsVisibleTo(
"vm.Aspects.Parsers.Tests, " +
Expand Down
6 changes: 3 additions & 3 deletions Aspects/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[assembly: AssemblyTitle("vm.Aspects")]
[assembly: AssemblyDescription("A set of classes addressing various common cross-cutting concerns.")]
[assembly: AssemblyVersion("1.0.25")]
[assembly: AssemblyFileVersion("1.0.25")]
[assembly: AssemblyInformationalVersion("1.0.25")]
[assembly: AssemblyVersion("1.0.26")]
[assembly: AssemblyFileVersion("1.0.26")]
[assembly: AssemblyInformationalVersion("1.0.26")]


[assembly: System.Runtime.CompilerServices.InternalsVisibleTo(
Expand Down
14 changes: 12 additions & 2 deletions Aspects/Security/Cryptography/Ciphers/NuGet/Ciphers.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Ciphers</id>
<version>1.11.3</version>
<version>1.11.4</version>
<authors>Val Melamed</authors>
<owners>Val Melamed</owners>
<summary>
Expand All @@ -18,7 +18,17 @@
* Built and tested with .NET v4.6.
</description>
<releaseNotes>
Performance improvements in the algorithm factories.
* Added interface `ILightCipher` with methods `ReleaseCertificate` and `CloneCipher` to the class `EncryptedKeyCipher` and
`ILightHasher` with methods `ReleaseCertificate` and `CloneHasher` to the class `KeyedHasher`.
`ReleaseCertificate` strips the public/private keys from the objects and now they can be used only for encryption/hashing.
This way the objects become lighter and more suitable for caching and using it in a big numbers of cryptographic operations.
`CloneCipher` creates a copy of the current object, without the public/private keys.

* Some performance improvements in the classes `Hasher` and `Signer`.

* Performance improvements in the algorithm factories.

* Fixed a bug in `EncryptedKeyCipher.CloneCipher`
</releaseNotes>
<licenseUrl>https://github.com/vmelamed/vm/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/vmelamed/vm/tree/master/Aspects/Security/Cryptography/Ciphers</projectUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
// associated with an assembly.
[assembly: AssemblyTitle("vm.Aspects.Security.Cryptography.Ciphers")]
[assembly: AssemblyDescription("A set of cipher classes producing cipher-packages and encrypted and/or signed XML documents and elements.")]
[assembly: AssemblyVersion("1.11.3")]
[assembly: AssemblyFileVersion("1.11.3")]
[assembly: AssemblyInformationalVersion("1.11.3")]
[assembly: AssemblyVersion("1.11.4")]
[assembly: AssemblyFileVersion("1.11.4")]
[assembly: AssemblyInformationalVersion("1.11.4")]

[assembly: System.Runtime.CompilerServices.InternalsVisibleTo(
"vm.Aspects.Security.Cryptography.Ciphers.Tests, " +
Expand Down
6 changes: 3 additions & 3 deletions Aspects/Wcf/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
[assembly: AssemblyTitle("Wcf")]
[assembly: AssemblyDescription("A set of classes and generics simplifying the initial configuration work of creating WCF services.")]

[assembly: AssemblyVersion("1.0.25")]
[assembly: AssemblyFileVersion("1.0.25")]
[assembly: AssemblyInformationalVersion("1.0.25")]
[assembly: AssemblyVersion("1.0.26")]
[assembly: AssemblyFileVersion("1.0.26")]
[assembly: AssemblyInformationalVersion("1.0.26")]

[assembly: System.Runtime.CompilerServices.InternalsVisibleTo(
"vm.Aspects.Wcf.Test, " +
Expand Down

0 comments on commit 69b4fec

Please sign in to comment.