Creates an X.509v3 certificate from the specified signed file.
[Visual Basic]
Public Shared Function CreateFromSignedFile( _
ByVal filename As String _
) As X509Certificate
[C#]
public static X509Certificate CreateFromSignedFile(
string filename
);
[C++]
public: static X509Certificate* CreateFromSignedFile(
String* filename
);
[JScript]
public static function CreateFromSignedFile(
filename : String
) : X509Certificate;
Parameters
- filename
- The path of the signed file from which to create the X.509 certificate.
Return Value
The newly created X.509 certificate.
Remarks
ASN.1 DER is the only certificate format supported by this class.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- FileIOPermission for the ability to read the file specified by the filename parameter. Associated enumeration: Read
See Also
X509Certificate Class | X509Certificate Members | System.Security.Cryptography.X509Certificates Namespace