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