Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
PVK to XMLConvert RSA .pvk (private key) to XML. Dim fso, outFile Set fso = CreateObject("Scripting.FileSystemObject") Set outFile = fso.CreateTextFile("output.txt", True) set pvk = CreateObject("Chilkat.PrivateKey") ' Password is "wiggy" success = pvk.LoadPvkFile("myKey.pvk","wiggy") If (success = 0) Then outFile.WriteLine(pvk.LastErrorText) WScript.Quit End If ' Save it as XML: success = pvk.SaveXmlFile("myKey.xml") If (success = 0) Then outFile.WriteLine(pvk.LastErrorText) WScript.Quit End If outFile.Close |
Need a specific example? Send a request to support@chilkatsoft.com
© 2003-2007 Chilkat Software, Inc. All Rights Reserved.