X509Certificate.CreateFromSignedFile Method
This page is specific to:.NET Framework Version:1.12.03.03.54.0
.NET Framework Class Library
X509Certificate.CreateFromSignedFile Method

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

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View