This being human is a guest house. Every morning is a new arrival. A joy, a depression, a meanness,
Idea Transcript
HOME
EXPLORE
TAGS
CONTRIBUTE
Search .Net Heaven
Home » VB.NET » VISUAL BASIC LANGUAGE
System.Security.Cryptography.Xml Namespace In VB.NET
CATEGORIES ACTIVE DIRECTOTRY IN VB.NET
Posted in VB.NET | VISUAL BASIC LANGUAGE on November 08, 2012
ALGORITHMS AND VB.NET
Tags: VB.NET, System.Security.Cryptography.Xml, System.Security.Cryptography.Xml Namespace, System.Security.Cryptography.Xml Namespace in VB.NET
ARRAY IN VB.NET ASP.NET AJAX IN VB.NET
In this article I will explain you about the System.Security.Cryptography.Xml Namespace in VB.NET. 3039
ASP.NET USING VB.NET ASSEMBLIES IN VB.NET COM INTEROP IN VB.NET
The System.Security.Cryptography.Xml namespace contains a full implementation of the World Wide Web Consortium standard for digitally signing XML data and files. In other words, the namespace helps you to sign any XML object with a digital signature. Refer to the XML-Signature Syntax and Processing page at http://www.w3.org/TR/xmldsig-core/ for details on this progressing standard.
CRYPTOGRAPHY IN VB.NET
The sample code in Listing 22.37 shows how to sign XML data and produce an envelope for it via the RSA algorithm.
DEPLOYMENT IN VB.NET
CRYSTAL REPORTS IN VB.NET DATABASE & DBA
DESIGN & ARCHITECTURE
Listing 22.37: SignXML1.VB, Compute Signature for XML Data Imports System.Xml Imports System.Security.Cryptography Imports System.Security.Cryptography.Xml Public Class DigitalSignSample Shared Sub Main() ' generate XML data Dim document As New XmlDocument() Dim node As XmlNode = document.CreateNode(XmlNodeType.Element, "", "T", "s") node.InnerText = "C# wimps the lama's bass..." document.AppendChild(node) Console.WriteLine("OriginalXML data:" & vbCr & vbLf & document.OuterXml & vbCr & vbLf) ' create signedxml variable Dim rsa As RSA = System.Security.Cryptography.RSA.Create() Dim signedXml As New SignedXml() signedXml.SigningKey = rsa ' create dataobject Dim dataObject As DataObject = New System.Security.Cryptography.Xml.DataObject() dataObject.Data = document.ChildNodes dataObject.Id = "goo" ' add dataobject and reference signedXml.AddObject(dataObject) signedXml.AddReference(New Reference("#goo")) ' add keyinfo Dim keyInfo As New KeyInfo() keyInfo.AddClause(New RSAKeyValue(rsa)) signedXml.KeyInfo = keyInfo ' compute signature and get an envelope for the XML data signedXml.ComputeSignature() Dim xmlDigitalSignature As XmlElement = signedXml.GetXml() ' output the envelope Console.WriteLine("====================================================") Dim w As New XmlTextWriter(Console.Out) w.Formatting = Formatting.Indented xmlDigitalSignature.WriteTo(w) Console.ReadLine() End Sub End Class Output Window
DIRECTX WITH VB.NET ENTERPRISE DEVELOPMENT FILE IN VB.NET GAMES IN VB.NET GDI+ IN VB.NET GENERAL LINQ WITH VB.NET MOBILE DEV IN VB.NET MULTITHREADING IN VB.NET NETWORKIN WITH VB.NET OFFICE AND VB.NET PRINTING IN VB.NET REMOTING IN VB.NET REPORTS IN VB.NET SECURITY IN VB.NET SILVERLIGHT USING VB.NET SPEECH IN VB.NET STRING IN VB.NET TABLET PC VB.NET ADO.NET VB.NET ARTICLE VB.NET EXCEPTION HANDLING VB.NET FAQ VB.NET HOW DO I VB.NET LANGUAGE VB.NET TUTORIALS VB.NET WINDOWS SERVICES VBA VISUAL BASIC 10 VISUAL BASIC LANGUAGE WCF WITH VB.NET WEB CONTROL IN VB.NET WEB DEV IN VB.NET WEB FORM WITH VB.NET WEB SERVICES IN VB.NET WINDOWS CONTROLS WINDOWS FORMS IN VB.NET WORKFLOW IN VB.NET WPF IN VB.NET XAML IN VB.NET XML IN VB.NET
MORE ARTICLES
Conclusion
Algorithm Generate Fibonacci Series In VB.NET
Hope this article would have helped you in understanding the System.Security.Cryptography.Xml Namespace in VB.NET.
Algorithm - Factorial Of An Number In VB.NET Algorithm Quadrant In VB.NET
RELATED ARTICLES
Algorithm Circular Queue In VB.NET
System.Security.Principal using VB.NET: Part 2
Cryptography using VB.NET
Security and Microsoft VB.NET
Choosing Security and Role-Based Permissions using VB.NET
Namespaces and Assemblies in VB.NET
Cryptography using VB.NET
Security in VB.NET
Overview Security Classes in VB.NET: Part 3
Algorithm Concept In VB.NET
Overview Security Classes in VB.NET: Part 2
Overview Security Classes in VB.NET: Part 1
How To Use .NET Assemblies In VB.NET
Algorithm Queues In VB.NET Algorithm Stack In VB.NET
How To Create Assembly In VB.NET VB.NET Create Instance Of A Type Dynamically Select And Delete Ink In Tablet PC In VB.NET Using Tablet PC Ink On Windows Controls In VB.NET Tablet PC Frequently Asked Question In VB.NET Setting Ink Overlay Properties In Tablet PC In VB.NET VB.NET Advanced Controls Of Mobile Internet MediaElement Control In Windows Phone 7 Image Brush Background Set In Windows Phone 7 Mobile Mail Sending Application In ASP.NET Using VB.NET Mobile Banking Application In ASP.NET Using VB I-MODE Client And Mobile Programming In VB.NET Basic User Interface Controls Of Mobile Internet In VB.NET Basics Of The Mobile Internet Toolkit Using VB.NET A Glance At .NET Framework 3.0 In VB.NET Reflection In VB.NET Custom Exception Handling In VB.NET Exception Handling In VB.NET Inheritance In VB.NET Retrieving Environment Variables In VB.NET Introduction Of Visual Studio 2008 In VB.NET: Part 1 VB.NET Select Statement In SQL Query Dialog Box In VB.NET Windows Registry In VB.NET Get Current Time Zone In VB.NET VB.NET Balloon Tooltip Binding A ComboBox In VB.NET Image As Button Background In VB.NET Button State In VB.NET Operating System Version In VB.NET How Many Users Are Using The Site At A Same Time? BorderThickness Value In WPF VB.NET Display Data In The FormView Control Add Web Server Controls To A PlaceHolder Control At Run Time DropDownList Control Through Data Binding In VB.NET DropDownList Control That Contains Items In VB.NET How Do I Open A URL In A New Browser Window In ASP.NET? Display An XmlNode Contents In A DataGrid? Delete A Directory In VB.NET Create And Save Bitmap Image In VB.NET? VB.NET Constants Variables In VB.NET