90 references to X509KeyStorageFlags
mscorlib (47)
system\security\cryptography\x509certificates\x509certificate.cs (32)
75
internal const
X509KeyStorageFlags
KeyStorageFlagsAll =
76
X509KeyStorageFlags
.UserKeySet |
77
X509KeyStorageFlags
.MachineKeySet |
78
X509KeyStorageFlags
.Exportable |
79
X509KeyStorageFlags
.UserProtected |
80
X509KeyStorageFlags
.PersistKeySet |
81
X509KeyStorageFlags
.EphemeralKeySet;
98
LoadCertificateFromBlob(data, null,
X509KeyStorageFlags
.DefaultKeySet);
105
LoadCertificateFromBlob(rawData, password,
X509KeyStorageFlags
.DefaultKeySet);
113
LoadCertificateFromBlob(rawData, password,
X509KeyStorageFlags
.DefaultKeySet);
117
public X509Certificate (byte[] rawData, string password,
X509KeyStorageFlags
keyStorageFlags):this() {
128
public X509Certificate (byte[] rawData, SecureString password,
X509KeyStorageFlags
keyStorageFlags):this() {
141
LoadCertificateFromFile(fileName, null,
X509KeyStorageFlags
.DefaultKeySet);
152
LoadCertificateFromFile(fileName, password,
X509KeyStorageFlags
.DefaultKeySet);
160
LoadCertificateFromFile(fileName, password,
X509KeyStorageFlags
.DefaultKeySet);
171
public X509Certificate (string fileName, string password,
X509KeyStorageFlags
keyStorageFlags):this() {
179
public X509Certificate (string fileName, SecureString password,
X509KeyStorageFlags
keyStorageFlags):this() {
212
LoadCertificateFromBlob(rawData, null,
X509KeyStorageFlags
.DefaultKeySet);
514
LoadCertificateFromBlob(rawData, null,
X509KeyStorageFlags
.DefaultKeySet);
527
public virtual void Import(byte[] rawData, string password,
X509KeyStorageFlags
keyStorageFlags) {
535
public virtual void Import(byte[] rawData, SecureString password,
X509KeyStorageFlags
keyStorageFlags) {
550
LoadCertificateFromFile(fileName, null,
X509KeyStorageFlags
.DefaultKeySet);
560
public virtual void Import(string fileName, string password,
X509KeyStorageFlags
keyStorageFlags) {
570
public virtual void Import(string fileName, SecureString password,
X509KeyStorageFlags
keyStorageFlags) {
784
private void LoadCertificateFromBlob (byte[] rawData, object password,
X509KeyStorageFlags
keyStorageFlags) {
792
(keyStorageFlags &
X509KeyStorageFlags
.PersistKeySet) ==
X509KeyStorageFlags
.PersistKeySet) {
809
(keyStorageFlags &
X509KeyStorageFlags
.PersistKeySet) == 0 ? false : true,
822
private void LoadCertificateFromFile (string fileName, object password,
X509KeyStorageFlags
keyStorageFlags) {
832
(keyStorageFlags &
X509KeyStorageFlags
.PersistKeySet) ==
X509KeyStorageFlags
.PersistKeySet) {
849
(keyStorageFlags &
X509KeyStorageFlags
.PersistKeySet) == 0 ? false : true,
system\security\cryptography\x509certificates\x509utils.cs (15)
255
internal static uint MapKeyStorageFlags(
X509KeyStorageFlags
keyStorageFlags) {
266
const
X509KeyStorageFlags
EphemeralPersist =
267
X509KeyStorageFlags
.EphemeralKeySet |
X509KeyStorageFlags
.PersistKeySet;
269
X509KeyStorageFlags
persistenceFlags = keyStorageFlags & EphemeralPersist;
291
if ((keyStorageFlags &
X509KeyStorageFlags
.UserKeySet) ==
X509KeyStorageFlags
.UserKeySet)
293
else if ((keyStorageFlags &
X509KeyStorageFlags
.MachineKeySet) ==
X509KeyStorageFlags
.MachineKeySet)
296
if ((keyStorageFlags &
X509KeyStorageFlags
.Exportable) ==
X509KeyStorageFlags
.Exportable)
298
if ((keyStorageFlags &
X509KeyStorageFlags
.UserProtected) ==
X509KeyStorageFlags
.UserProtected)
301
if ((keyStorageFlags &
X509KeyStorageFlags
.EphemeralKeySet) ==
X509KeyStorageFlags
.EphemeralKeySet)
System (37)
security\system\security\cryptography\x509\x509certificate2.cs (16)
296
internal const
X509KeyStorageFlags
KeyStorageFlags47 =
297
X509KeyStorageFlags
.UserKeySet |
298
X509KeyStorageFlags
.MachineKeySet |
299
X509KeyStorageFlags
.Exportable |
300
X509KeyStorageFlags
.UserProtected |
301
X509KeyStorageFlags
.PersistKeySet;
303
internal const
X509KeyStorageFlags
KeyStorageFlagsAll =
305
X509KeyStorageFlags
.EphemeralKeySet;
339
public X509Certificate2 (byte[] rawData, string password,
X509KeyStorageFlags
keyStorageFlags) : base (rawData, password, keyStorageFlags) {
344
public X509Certificate2 (byte[] rawData, SecureString password,
X509KeyStorageFlags
keyStorageFlags) : base (rawData, password, keyStorageFlags) {
386
public X509Certificate2 (string fileName, string password,
X509KeyStorageFlags
keyStorageFlags) : base (fileName, password, keyStorageFlags) {
393
public X509Certificate2 (string fileName, SecureString password,
X509KeyStorageFlags
keyStorageFlags) : base (fileName, password, keyStorageFlags) {
1062
public override void Import(byte[] rawData, string password,
X509KeyStorageFlags
keyStorageFlags) {
1071
public override void Import(byte[] rawData, SecureString password,
X509KeyStorageFlags
keyStorageFlags) {
1093
public override void Import(string fileName, string password,
X509KeyStorageFlags
keyStorageFlags) {
1104
public override void Import(string fileName, SecureString password,
X509KeyStorageFlags
keyStorageFlags) {
security\system\security\cryptography\x509\x509certificate2collection.cs (6)
197
Import(rawData, null,
X509KeyStorageFlags
.DefaultKeySet);
203
public void Import(byte[] rawData, string password,
X509KeyStorageFlags
keyStorageFlags) {
217
safeCertStoreHandle = LoadStoreFromBlob(rawData, password, dwFlags, (keyStorageFlags &
X509KeyStorageFlags
.PersistKeySet) != 0);
232
Import(fileName, null,
X509KeyStorageFlags
.DefaultKeySet);
242
public void Import(string fileName, string password,
X509KeyStorageFlags
keyStorageFlags) {
256
safeCertStoreHandle = LoadStoreFromFile(fileName, password, dwFlags, (keyStorageFlags &
X509KeyStorageFlags
.PersistKeySet) != 0);
security\system\security\cryptography\x509\x509utils.cs (15)
54
internal static uint MapKeyStorageFlags (
X509KeyStorageFlags
keyStorageFlags) {
73
const
X509KeyStorageFlags
EphemeralPersist =
74
X509KeyStorageFlags
.EphemeralKeySet |
X509KeyStorageFlags
.PersistKeySet;
76
X509KeyStorageFlags
persistenceFlags = keyStorageFlags & EphemeralPersist;
88
if ((keyStorageFlags &
X509KeyStorageFlags
.UserKeySet) ==
X509KeyStorageFlags
.UserKeySet)
90
else if ((keyStorageFlags &
X509KeyStorageFlags
.MachineKeySet) ==
X509KeyStorageFlags
.MachineKeySet)
93
if ((keyStorageFlags &
X509KeyStorageFlags
.Exportable) ==
X509KeyStorageFlags
.Exportable)
95
if ((keyStorageFlags &
X509KeyStorageFlags
.UserProtected) ==
X509KeyStorageFlags
.UserProtected)
98
if ((keyStorageFlags &
X509KeyStorageFlags
.EphemeralKeySet) ==
X509KeyStorageFlags
.EphemeralKeySet)
System.ServiceModel (6)
System\ServiceModel\ComIntegration\ChannelCredentials.cs (6)
161
X509KeyStorageFlags
flags = (
X509KeyStorageFlags
)Enum.Parse(typeof(
X509KeyStorageFlags
), keyStorageFlags);
210
X509KeyStorageFlags
flags = (
X509KeyStorageFlags
)Enum.Parse(typeof(
X509KeyStorageFlags
), keyStorageFlags);