Digital Signaturesin xml

Written by Pawan Bangar


Continued from page 1

An XML DSIG may contain multiple reference elements inrepparttar same document

DSIG signatures may contain eitherrepparttar 105102 signed XML object contained inrepparttar 105103 XML object, or detached fromrepparttar 105104 signed object or document. Whenrepparttar 105105 signed XML object envelopsrepparttar 105106 signature,repparttar 105107 enveloped signature value itself is not included inrepparttar 105108 signature calculation and validation computation. For this you userepparttar 105109 enveloped-signature transform, removingrepparttar 105110 whole signature element in which it is contained fromrepparttar 105111 digest calculation.

Public key digital signatures that provide nonrepudiation, such as RSA, are computationally intensive operations; therefore, DSIG also allows shared-key authentication that provides authentication but nonrepudiation. Collision resistant hashing ofrepparttar 105112 signed content is also used to save computational requirements.

Generating DSIG signatures: 1. Identity resources to be signed. 2. Calculatingrepparttar 105113 digest value and composing reference elements for each resource. 3. Composingrepparttar 105114 signed info element from all references. 4. Computing value of signature method over identity resources to be signed element by applying algorithms like DSA, RSA-SHA1, etc 5. Composingrepparttar 105115 signature elements with signedInfo, signature value, identity key used to sign, and other optional objects like signature properties.

An XML DSIG may contain multiple reference elements inrepparttar 105116 same document.

Pawan Bangar, Technical Director, Birbals, #1047,Sector 42-b, Chandigarh. www.ebirbals.com www.birbals.com


Connecting and Accessing Data through ADO.NET

Written by Pawan Bangar


Continued from page 1

Connecting Database sharp1.cs class xyz1 { public static void main() { try { System.Data.ADO.ADOConnection s; S=new System.Data.ADO.ADOConnection(); System.Console.Writeline("C-Sharp); } catch(System.Exception e) { System.console.Writeline(e.ToString()); }}}

Above program can be compiled through command line at DOS promot giving command line option as /r:System.Data.Dll

Becauserepparttar code for ADO.Connection is available at this DLL. The above program consists of an object s resembling as System.ado.adoconnection .

Thus we are creatingrepparttar 105101 object s byrepparttar 105102 statement:

System.Data.ADO.ADOConnection s;

Fromrepparttar 105103 output it is clear thatrepparttar 105104 constructor has thrown no exception, as otherwise catch block would have been executed.

Presently working in the capacity of the Technical Director of Birbals, an e-consulting firm based in India dedicated in providing innovative and effective web, Hospitality and consultancy services to public, private and non-profit organizations. Successfully founded Birbals and other IT companies like Ebirbals and SeoBirbals.


    <Back to Page 1
 
ImproveHomeLife.com © 2005
Terms of Use