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