9 references to SecretAssert
Microsoft.AspNetCore.DataProtection.Tests (9)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfigurationTests.cs (3)
19
SecretAssert
.NotEqual(masterKey1, masterKey2);
20
SecretAssert
.LengthIs(512 /* bits */, masterKey1);
21
SecretAssert
.LengthIs(512 /* bits */, masterKey2);
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorConfigurationTests.cs (3)
19
SecretAssert
.NotEqual(masterKey1, masterKey2);
20
SecretAssert
.LengthIs(512 /* bits */, masterKey1);
21
SecretAssert
.LengthIs(512 /* bits */, masterKey2);
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorConfigurationTests.cs (3)
19
SecretAssert
.NotEqual(masterKey1, masterKey2);
20
SecretAssert
.LengthIs(512 /* bits */, masterKey1);
21
SecretAssert
.LengthIs(512 /* bits */, masterKey2);