X509Certificate::CreateFromSignedFile Method (String^)

 

Creates an X.509v3 certificate from the specified signed file.

Namespace:   System.Security.Cryptography.X509Certificates
Assembly:  mscorlib (in mscorlib.dll)

public:
static X509Certificate^ CreateFromSignedFile(
	String^ filename
)

Parameters

filename
Type: System::String^

The path of the signed file from which to create the X.509 certificate.

Return Value

Type: System.Security.Cryptography.X509Certificates::X509Certificate^

The newly created X.509 certificate.

ASN.1 DER is the only certificate format supported by this class.

FileIOPermission

for the ability to read the file specified by the filename parameter. Associated enumeration: FileIOPermissionAccess::Read

.NET Framework
Available since 1.1
Return to top
Show: