X509Certificate.CreateFromSignedFile Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

Public Shared Function CreateFromSignedFile (
	filename As String
) As X509Certificate

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: