4 references to Secret
Microsoft.AspNetCore.DataProtection (2)
Secret.cs (1)
41: this(new ArraySegment<byte>(value))
XmlEncryption\XmlEncryptionExtensions.cs (1)
172return new Secret(new ArraySegment<byte>(underlyingBuffer, 0, checked((int)memoryStream.Length)));
Microsoft.AspNetCore.DataProtection.Tests (2)
SecretTests.cs (2)
15testCode: () => new Secret(default(ArraySegment<byte>)), 27var secret = new Secret(input);