1 write to m_keyHandle
System.Core (1)
System\Security\Cryptography\CngKey.cs (1)
44
m_keyHandle
= keyHandle;
46 references to m_keyHandle
System.Core (46)
System\Security\Cryptography\CngKey.cs (46)
41
Contract.Ensures(
m_keyHandle
!= null && !
m_keyHandle
.IsInvalid && !
m_keyHandle
.IsClosed);
59
Contract.Assert(
m_keyHandle
!= null);
60
string group = NCryptNative.GetPropertyAsString(
m_keyHandle
,
79
Contract.Assert(
m_keyHandle
!= null);
80
string algorithm = NCryptNative.GetPropertyAsString(
m_keyHandle
,
93
Contract.Assert(
m_keyHandle
!= null);
94
int policy = NCryptNative.GetPropertyAsDWord(
m_keyHandle
,
118
Contract.Assert(
m_keyHandle
!= null);
119
return
m_keyHandle
.Duplicate();
135
Contract.Assert(
m_keyHandle
!= null);
140
ephemeralProperty = NCryptNative.GetProperty(
m_keyHandle
,
160
Contract.Assert(
m_keyHandle
!= null);
162
NCryptNative.SetProperty(
m_keyHandle
,
175
Contract.Assert(
m_keyHandle
!= null);
176
int type = NCryptNative.GetPropertyAsDWord(
m_keyHandle
,
192
Contract.Assert(
m_keyHandle
!= null);
198
return NCryptNative.GetPropertyAsString(
m_keyHandle
,
211
Contract.Assert(
m_keyHandle
!= null);
218
m_keyHandle
,
229
return NCryptNative.GetPropertyAsDWord(
m_keyHandle
,
241
Contract.Assert(
m_keyHandle
!= null);
242
int keyUsage = NCryptNative.GetPropertyAsDWord(
m_keyHandle
,
255
Contract.Assert(
m_keyHandle
!= null);
256
return NCryptNative.GetPropertyAsIntPtr(
m_keyHandle
,
264
Contract.Assert(
m_keyHandle
!= null);
265
NCryptNative.SetProperty(
m_keyHandle
,
311
Contract.Assert(
m_keyHandle
!= null);
317
return NCryptNative.GetPropertyAsString(
m_keyHandle
,
331
Contract.Assert(
m_keyHandle
!= null);
334
NCryptNative.GetPropertyAsStruct<NCryptNative.NCRYPT_UI_POLICY>(
m_keyHandle
,
338
string useContext = NCryptNative.GetPropertyAsString(
m_keyHandle
,
361
Contract.Assert(
m_keyHandle
!= null);
464
Contract.Assert(
m_keyHandle
!= null);
472
NCryptNative.DeleteKey(
m_keyHandle
);
485
if (
m_keyHandle
!= null) {
486
m_keyHandle
.Dispose();
620
Contract.Assert(
m_keyHandle
!= null);
631
return NCryptNative.ExportKey(
m_keyHandle
, format.Format);
640
Contract.Assert(
m_keyHandle
!= null);
647
byte[] value = NCryptNative.GetProperty(
m_keyHandle
, name, options, out foundProperty);
662
Contract.Assert(
m_keyHandle
!= null);
669
NCryptNative.GetProperty(
m_keyHandle
, name, options, out foundProperty);
859
Contract.Assert(
m_keyHandle
!= null);
860
NCryptNative.SetProperty(
m_keyHandle
, property.Name, property.Value, property.Options);