1 implementation of Length
Microsoft.AspNetCore.DataProtection (1)
Secret.cs (1)
103public int Length
6 references to Length
Microsoft.AspNetCore.DataProtection (4)
AuthenticatedEncryption\ConfigurationModel\SecretExtensions.cs (1)
22byte[] unprotectedSecretRawBytes = new byte[secret.Length];
Cng\DpapiSecretSerializerHelper.cs (2)
47var plaintextSecret = new byte[secret.Length]; 123var plaintextSecret = new byte[secret.Length];
Secret.cs (1)
83var tempPlaintextBuffer = new byte[secret.Length];
Microsoft.AspNetCore.DataProtection.Tests (2)
SecretAssert.cs (2)
24Assert.Equal(expectedLengthInBits, checked(secret.Length * 8)); 37byte[] secretBytes = new byte[secret.Length];