WebHelperLoadCertificate(String, String, String, NullableStoreName, NullableStoreLocation, String, Boolean, String) - метод
Пространство имён: Tessa.WebСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
public static X509Certificate2? LoadCertificate(
string? certificateFile,
string? certificatePassword,
string? certificateKeyFile = null,
StoreName?? storeName = null,
StoreLocation?? storeLocation = null,
string? certificateStoreSubject = null,
bool environmentIsDevelopment = false,
string? serverLocation = null
)
Public Shared Function LoadCertificate (
certificateFile As String,
certificatePassword As String,
Optional certificateKeyFile As String = Nothing,
Optional storeName As StoreName? = Nothing,
Optional storeLocation As StoreLocation? = Nothing,
Optional certificateStoreSubject As String = Nothing,
Optional environmentIsDevelopment As Boolean = false,
Optional serverLocation As String = Nothing
) As X509Certificate2
public:
static X509Certificate2^ LoadCertificate(
String^ certificateFile,
String^ certificatePassword,
String^ certificateKeyFile = nullptr,
Nullable<StoreName^> storeName = nullptr,
Nullable<StoreLocation^> storeLocation = nullptr,
String^ certificateStoreSubject = nullptr,
bool environmentIsDevelopment = false,
String^ serverLocation = nullptr
)
static member LoadCertificate :
certificateFile : string *
certificatePassword : string *
?certificateKeyFile : string *
?storeName : Nullable<StoreName> *
?storeLocation : Nullable<StoreLocation> *
?certificateStoreSubject : string *
?environmentIsDevelopment : bool *
?serverLocation : string
(* Defaults:
let _certificateKeyFile = defaultArg certificateKeyFile null
let _storeName = defaultArg storeName null
let _storeLocation = defaultArg storeLocation null
let _certificateStoreSubject = defaultArg certificateStoreSubject null
let _environmentIsDevelopment = defaultArg environmentIsDevelopment false
let _serverLocation = defaultArg serverLocation null
*)
-> X509Certificate2
- certificateFile String
-
- certificatePassword String
-
- certificateKeyFile String (Optional)
-
- storeName NullableStoreName (Optional)
-
- storeLocation NullableStoreLocation (Optional)
-
- certificateStoreSubject String (Optional)
-
- environmentIsDevelopment Boolean (Optional)
-
- serverLocation String (Optional)
-
X509Certificate2