2 writes to m_key
System.Core (2)
System\Security\Cryptography\AesCryptoServiceProvider.cs (2)
115
m_key
= importedKey;
393
m_key
= key;
31 references to m_key
System.Core (31)
System\Security\Cryptography\AesCryptoServiceProvider.cs (31)
76
Contract.Ensures(
m_key
!= null && !
m_key
.IsInvalid && !
m_key
.IsClosed);
80
if (
m_key
== null ||
m_key
.IsInvalid ||
m_key
.IsClosed) {
86
byte[] keyValue = CapiNative.ExportSymmetricKey(
m_key
);
93
Contract.Ensures(
m_key
!= null && !
m_key
.IsInvalid && !
m_key
.IsClosed);
111
if (
m_key
!= null) {
112
m_key
.Dispose();
132
if (
m_key
!= null) {
133
m_key
.Dispose();
147
if (
m_key
== null ||
m_key
.IsInvalid ||
m_key
.IsClosed) {
151
return CreateDecryptor(
m_key
, IVValue);
208
if (
m_key
== null ||
m_key
.IsInvalid ||
m_key
.IsClosed) {
217
return CreateEncryptor(
m_key
, IVValue);
271
Contract.Ensures(!disposing ||
m_key
== null ||
m_key
.IsClosed);
276
if (
m_key
!= null) {
277
m_key
.Dispose();
369
Contract.Ensures(
m_key
!= null && !
m_key
.IsInvalid & !
m_key
.IsClosed);
389
if (
m_key
!= null) {
390
m_key
.Dispose();