1 write to _keyBox
System.Security.Cryptography (1)
System\Security\Cryptography\AesCcm.OpenSsl.cs (1)
23
_keyBox
= new FixedMemoryKeyBox(key);
9 references to _keyBox
System.Security.Cryptography (9)
System\Security\Cryptography\AesCcm.OpenSsl.cs (9)
16
[MemberNotNull(nameof(
_keyBox
))]
22
Debug.Assert(
_keyBox
is null);
37
_keyBox
.DangerousAddRef(ref acquired);
38
ReadOnlySpan<byte> key =
_keyBox
.DangerousKeySpan;
90
_keyBox
.DangerousRelease();
106
_keyBox
.DangerousAddRef(ref acquired);
107
ReadOnlySpan<byte> key =
_keyBox
.DangerousKeySpan;
148
_keyBox
.DangerousRelease();
166
public void Dispose() =>
_keyBox
.Dispose();