|
DataPublisher.ImportCertificate Method
|
Imports a certificate to the trusted certificates path.
Namespace: GSF.TimeSeries.TransportAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.246-beta
Syntax[AdapterCommandAttribute("Imports a certificate to the trusted certificates path.",
new string[] { ... })]
public virtual string ImportCertificate(
string fileName,
byte[] certificateData
)
<AdapterCommandAttribute("Imports a certificate to the trusted certificates path.",
New String() { ... })>
Public Overridable Function ImportCertificate (
fileName As String,
certificateData As Byte()
) As String
public:
[AdapterCommandAttribute(L"Imports a certificate to the trusted certificates path.",
__gc new array<String^>^ { ... })]
virtual String^ ImportCertificate(
String^ fileName,
array<unsigned char>^ certificateData
)
[<AdapterCommandAttribute("Imports a certificate to the trusted certificates path.",
new string[] { ... })>]
abstract ImportCertificate :
fileName : string *
certificateData : byte[] -> string
[<AdapterCommandAttribute("Imports a certificate to the trusted certificates path.",
new string[] { ... })>]
override ImportCertificate :
fileName : string *
certificateData : byte[] -> string
function ImportCertificate(fileName, certificateData);
View SourceParameters
- fileName String
- The file name to give to the certificate when imported.
- certificateData Byte[]
- The data to be written to the certificate file.
Return Value
StringThe local path on the server where the file was written.
See Also