17 instantiations of SafePasswordHandle
System.Security.Cryptography (17)
Microsoft\Win32\SafeHandles\SafePasswordHandle.cs (1)
110var handle = new SafePasswordHandle((string?)null, false);
System\Security\Cryptography\X509Certificates\X509Certificate.cs (9)
69using (var safePasswordHandle = new SafePasswordHandle((string?)null, passwordProvided: false)) 97using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 112using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 125using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 169using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 181using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 197using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 311using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 325using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true))
System\Security\Cryptography\X509Certificates\X509Certificate2Collection.cs (7)
109using (var safePasswordHandle = new SafePasswordHandle((string?)null, passwordProvided: false)) 118using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 154using (var safePasswordHandle = new SafePasswordHandle((string?)null, passwordProvided: false)) 201using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 212using (var safePasswordHandle = new SafePasswordHandle((string?)null, passwordProvided: false)) 225using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 250using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true))
41 references to SafePasswordHandle
System.Security.Cryptography (41)
Microsoft\Win32\SafeHandles\SafePasswordHandle.cs (4)
85if (disposing && SafeHandleCache<SafePasswordHandle>.IsCachedInvalidHandle(this)) 106public static SafePasswordHandle InvalidHandle => 107SafeHandleCache<SafePasswordHandle>.GetInvalidHandle( 110var handle = new SafePasswordHandle((string?)null, false);
System\Security\Cryptography\X509Certificates\CertificatePal.cs (2)
16SafePasswordHandle password, 21SafePasswordHandle password,
System\Security\Cryptography\X509Certificates\CertificatePal.OpenSsl.cs (2)
23internal static partial ICertificatePal FromBlob(ReadOnlySpan<byte> rawData, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags) 28internal static partial ICertificatePal FromFile(string fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags)
System\Security\Cryptography\X509Certificates\ICertificatePalCore.cs (1)
26byte[] Export(X509ContentType contentType, SafePasswordHandle password);
System\Security\Cryptography\X509Certificates\IExportPal.cs (1)
10byte[]? Export(X509ContentType contentType, SafePasswordHandle password);
System\Security\Cryptography\X509Certificates\OpenSslPkcsFormatReader.cs (4)
243SafePasswordHandle password, 262SafePasswordHandle password, 281SafePasswordHandle password, 308SafePasswordHandle password,
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (3)
43public static ICertificatePal FromBlob(ReadOnlySpan<byte> rawData, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags) 71public static ICertificatePal FromFile(string fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags) 830public byte[] Export(X509ContentType contentType, SafePasswordHandle password)
System\Security\Cryptography\X509Certificates\StorePal.cs (2)
14SafePasswordHandle password, 19SafePasswordHandle password,
System\Security\Cryptography\X509Certificates\StorePal.OpenSsl.cs (3)
20internal static partial ILoaderPal FromBlob(ReadOnlySpan<byte> rawData, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags) 53internal static partial ILoaderPal FromFile(string fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags) 68SafePasswordHandle password,
System\Security\Cryptography\X509Certificates\UnixExportProvider.cs (2)
47public byte[]? Export(X509ContentType contentType, SafePasswordHandle password) 85private byte[] ExportPfx(SafePasswordHandle password)
System\Security\Cryptography\X509Certificates\UnixPkcs12Reader.cs (1)
194public void Decrypt(SafePasswordHandle password, bool ephemeralSpecified)
System\Security\Cryptography\X509Certificates\X509Certificate.cs (9)
69using (var safePasswordHandle = new SafePasswordHandle((string?)null, passwordProvided: false)) 97using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 112using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 125using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 169using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 181using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 197using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 311using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 325using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true))
System\Security\Cryptography\X509Certificates\X509Certificate2Collection.cs (7)
109using (var safePasswordHandle = new SafePasswordHandle((string?)null, passwordProvided: false)) 118using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 154using (var safePasswordHandle = new SafePasswordHandle((string?)null, passwordProvided: false)) 201using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 212using (var safePasswordHandle = new SafePasswordHandle((string?)null, passwordProvided: false)) 225using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true)) 250using (var safePasswordHandle = new SafePasswordHandle(password, passwordProvided: true))