1 write to m_parameters
mscorlib (1)
system\security\cryptography\icspasymmetricalgorithm.cs (1)
39
m_parameters
= new CspParameters(parameters);
23 references to m_parameters
mscorlib (23)
system\security\cryptography\icspasymmetricalgorithm.cs (23)
40
if (
m_parameters
.KeyNumber == -1) {
41
if (
m_parameters
.ProviderType == Constants.PROV_RSA_FULL ||
m_parameters
.ProviderType == Constants.PROV_RSA_AES)
42
m_parameters
.KeyNumber = Constants.AT_KEYEXCHANGE;
43
else if (
m_parameters
.ProviderType == Constants.PROV_DSS_DH)
44
m_parameters
.KeyNumber = Constants.AT_SIGNATURE;
54
return (
m_parameters
.Flags & CspProviderFlags.UseMachineKeyStore) == CspProviderFlags.UseMachineKeyStore ? true : false;
60
return
m_parameters
.ProviderName;
66
return
m_parameters
.ProviderType;
72
return
m_parameters
.KeyContainerName;
80
int hr = Utils._OpenCSP(
m_parameters
, Constants.CRYPT_SILENT, ref safeProvHandle);
84
string uniqueContainerName = (string) Utils._GetProviderParameter(safeProvHandle,
m_parameters
.KeyNumber, Constants.CLR_UNIQUE_CONTAINER);
92
return (KeyNumber)
m_parameters
.KeyNumber;
104
int hr = Utils._OpenCSP(
m_parameters
, Constants.CRYPT_SILENT, ref safeProvHandle);
108
byte[] isExportable = (byte[]) Utils._GetProviderParameter(safeProvHandle,
m_parameters
.KeyNumber, Constants.CLR_EXPORTABLE);
118
CspParameters parameters = new CspParameters(
m_parameters
);
136
CspParameters parameters = new CspParameters(
m_parameters
);
155
int hr = Utils._OpenCSP(
m_parameters
, Constants.CRYPT_SILENT, ref safeProvHandle);
159
byte[] isAccessible = (byte[]) Utils._GetProviderParameter(safeProvHandle,
m_parameters
.KeyNumber, Constants.CLR_ACCESSIBLE);
173
int hr = Utils._OpenCSP(
m_parameters
, Constants.CRYPT_SILENT, ref safeProvHandle);
177
byte[] isProtected = (byte[]) Utils._GetProviderParameter(safeProvHandle,
m_parameters
.KeyNumber, Constants.CLR_PROTECTED);
188
KeyContainerPermissionAccessEntry entry = new KeyContainerPermissionAccessEntry(
m_parameters
,
195
int hr = Utils._OpenCSP(
m_parameters
, Constants.CRYPT_SILENT, ref safeProvHandle);