Sign XML data

Hello,
I will need to design process that as output will have a XML package with data (some text and also base64 contents) and I need to digitaly sign this XML package. Is that possible with the LiveCycle and if so, what is the procedure?
I did some research on the digital signatures components and none of them has this feature. I have learned that Java has some classes that do handle this, however I do not have a clue if this is applicable in LC.
Thanks for any thoughts,
Jan

If you know how to use the Java classes, then you can probably use them in the Execute Script service. This service enables you to execute Java code in a process, and provides access to process data so that you can manipulate it.
http://livedocs.adobe.com/livecycle/8.2/wb_help/000581.html
You could also create a custom component that uses the :
http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/000934.html
scott

Similar Messages

  • Steps to insert xml data into oracle

    Please give me next steps to insert xml data into oracle 9i:
    i've been doing this steps :
    1. create folder in oracle port:8080
    2. copy xsd into folder
    3. register schema
    4. Give me next step...
    5.
    6.
    Thanks

    this is my complete xmlschema
    <?xml version = "1.0" encoding = "UTF-8"?>
    <xs:schema xmlns:xs = "http://www.w3.org/2001/XMLSchema">
         <xs:element name = "A3A8Vers" type = "xs:string"/>
         <xs:element name = "F1F5Vers" type = "xs:string">
         </xs:element>
         <xs:element name = "sequence" type = "xs:string">
         </xs:element>
         <xs:element name = "amf" type = "xs:string">
         </xs:element>
         <xs:element name = "trnsKeyNumber" type = "xs:string">
         </xs:element>
         <xs:element name = "mac" type = "xs:string">
         </xs:element>
         <xs:element name = "encryptionKey" type = "xs:string">
         </xs:element>
         <xs:element name = "signature" type = "xs:string">
         </xs:element>
         <xs:element name = "signer">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref = "entityNumber"/>
                        <xs:element ref = "keyNumber"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name = "entityNumber" type = "xs:string">
         </xs:element>
         <xs:element name = "keyNumber" type = "xs:string">
         </xs:element>
         <xs:element name = "pblKey">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref = "entityNumber"/>
                        <xs:element ref = "entityRole"/>
                        <xs:element ref = "keyNumber"/>
                        <xs:element ref = "publicKeyVal"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name = "ntrTime" type = "xs:string">
         </xs:element>
         <xs:element name = "deActionTime" type = "xs:string">
         </xs:element>
         <xs:element name = "actionTime" type = "xs:string">
         </xs:element>
         <xs:element name = "entityRole">
              <xs:complexType>
                   <xs:attribute name = "role" default = "INVALID">
                        <xs:simpleType>
                             <xs:restriction base = "xs:NMTOKEN">
                                  <xs:enumeration value = "TKD"/>
                                  <xs:enumeration value = "SKD"/>
                                  <xs:enumeration value = "INVALID"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name = "publicKeyVal">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref = "exponent"/>
                        <xs:element ref = "mod"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name = "exponent" type = "xs:string">
         </xs:element>
         <xs:element name = "mod" type = "xs:string">
         </xs:element>
         <xs:element name = "encriptionTransKey" type = "xs:string">
         </xs:element>
         <xs:element name = "keyType" type = "xs:string">
         </xs:element>
    </xs:schema>.
    I use command to create table :
    create table elements of xmltype
    xmlschema "http://192.168.1.1:8080/test.xsd"
    element "publicKey"
    . But why the result,table as object type. so i cant use command "desc <table_name>;"

  • Problem in coverting XML data to Interal Table.

    Hello,
    I have to write an application which converts an Internal Table Data to XML String and then from XML String to an Internal Table.
    The reason for doing is that I am using an RFC Function module and the internal table is dynamically generated one.
    But somehow the XML data is not getting converted to Internal Table.
    The RFC returns Internal Table Data as XML and the Field Catalogue table
    Now in the application which calls RFC, I am trying to convert XML data to a dynamic Internal table
    CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
      CALL FUNCTION 'SCMS_BINARY_TO_STRING'
    Now convert XML String to Internal table
    Using FMs 'SCMS_STRING_TO_XSTRING'
    "Now XString to Binary
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    CALL FUNCTION 'TEXT_CONVERT_XML_TO_SAP'
        EXPORTING
          i_tab_raw_data             = lt_xml_data
          i_totalsize                = lv_file_size
        TABLES
          i_tab_converted_data       = <fst_dyn_table>
       EXCEPTIONS
         conversion_failed          = 1
         OTHERS                     = 2
    In the FM 'TEXT_CONVERT_XML_TO_SAP' I am getting error Conversion failed.
    Now I tried with transformations.
    Here also my table is a dynamically created Internal table.
    TRY.
          CALL TRANSFORMATION ('ID')
           SOURCE root = lt_zmt_tdm_fmap
              RESULT XML lv_output_str.
        CATCH cx_root INTO gs_rif_ex.
          gs_var_text = gs_rif_ex->get_text( ).
          MESSAGE gs_var_text TYPE 'I'.
      ENDTRY.
    Now the lv_output_str gets populated with data
    But when I call Transformation again to convert XML to internal table, it does not throw error, but does not return any data also.
    TRY.
          CALL TRANSFORMATION ('ID')
          SOURCE XML = lv_output_str
          RESULT ref = <fst_dyn_table> .
        CATCH cx_root INTO gs_rif_ex.
          gs_var_text = gs_rif_ex->get_text( ).
          MESSAGE gs_var_text TYPE 'I'.
      ENDTRY.
    How can this be resolved.
    As pointed I am using RFC Function module, the parameters will be
    1) XML String with Internal table data
    2) Field Catalogue for Internal Table to be created dynamically.
    Regards,
    Vikas

    >
    Vikas Sridharan wrote:

    >       CALL TRANSFORMATION ('ID')
    >       SOURCE XML = lv_output_str "<============ ERRONEOUS = HERE
    >       RESULT ref = <fst_dyn_table> .
    >
    Remove the "=" sign, this code will work :
          CALL TRANSFORMATION ('ID')
          SOURCE XML lv_output_str
          RESULT ref = <fst_dyn_table> .

  • Transforming signed XML document with namespace invalidates signature

    I am running into a problem signing an XML document. Well, signing the document isn't the problem, as I can sign it and then verify the signature with the public key successfully. The problem comes when I transform the document to a string. It all appears to be OK, but when I transform it back, the hash no longer verifies. After more testing, it appears that the issue is related to namespaces. When I remove namespaces from the document, the signing and transformations work just fine. Does anyone have any insight on this?
    Here is how I am transforming the document to an XML string that I and back.
        try
          signSAML( doc, assertionElement );
          xmlSource = new DOMSource( doc );
          baos = new ByteArrayOutputStream();
          outputTarget = new StreamResult( baos );
          xmlString  = new String( new ByteArrayInputStream( baos.toByteArray() ) );
          transformerFactory = TransformerFactory.newInstance();
          transformer = transformerFactory.newTransformer();
          transformer.transform( xmlSource, outputTarget ); 
          boolean verified = verify( doc );
          if ( verified )
            System.out.println( "Verified" );
          else
            System.out.println( "UNVerified" );
        catch ( Exception e )
          // TODO Auto-generated catch block
          e.printStackTrace();
        }

    jtahlborn wrote:
    i'm not talking about the transform, i'm talking about this line:
    xmlString  = new String( new ByteArrayInputStream( baos.toByteArray() ) );which is a great way to break xml data.Yes. That's not the only kind of data it's good at breaking, either.
    To the OP: just have your transform output to a StringWriter in the first place. Don't muck about converting between chars and bytes unless you know the correct encoding and use it. Which you don't know it and you didn't use it.

  • SAP Business connector sending XML data

    Dear all,
    I am using an RFC to transfer the data from SAP R/3 to web server. I have to send the data to web server URl via SAP Business Connector in the below format.
    I am getting data in RFC sttructure, Now I need to change the above data into XMl and hence need to compress.
    The requirement is as below:
    The XML message is signed, encoded in base64.
    Signed and encoded XML message is compressed in GZIP format.
    Can u please share your ideas to achieve this.
    Thanks and regards,

    Dear Michal and Prateek,
    Thank you very much for your ideas.
    This is my flow:
    clear XML data -> SIgning with detached signature  -> Base 64 encode -> send the data via HTTP port.
    I am signing the message using pub.security.pkcs7:sign.
    But here problem is I am not able to get the detached signature.
    If I select the option Detached signature it is giving only signature.
    How can I manage the Detached signature and Message at HTTP port.
    Please help me.
    Thanks and regards,

  • Diginal Signatures don't transmit with XML Data, Why?

    I am trying to transmit the diginal signature on the form in adobe reader through email as a XML data source to its destination. But the object does not have any binding to the email. I need to send the signature so that I can pull the received email XML file into the form again with the signature to print a copy in house.
    How do you get the signatures to be bound to the data file that is sent via XML through an email system?

    You can't pull a signature into a file. That would imply signatures,
    once made, could be separated and the stuck on other documents that
    the user never saw and never signed!
    A signature is integral with the file. You need to submit the whole
    file. (Acrobat forms appear to submit sending only the signature
    portion of the file, but I can't see this for designer forms).
    From
    http://www.adobe.com/devnet/livecycle/articles/designer_coldfusion.html,
    "PDF [format] submits a package containing an embedded PDF file.
    Choose this format if the form contains a signature field..."
    Aandi Inston

  • Oracle.security.crypto.cert.PKCS7 signing xml message

    Dear All
    Can anybody have java sample code to sign xml message by using oracle.security.crypto.cert.PKCS7 libarary.
    Regards
    Aamir

    Hi Michal,
    > about a WM application (which only has SAP in the name)
    I'm afraid you have a completely wrong understanding of the Business Connector... 
    About 10-20% of the code (everything that deals with RFC communication, IDoc processing and conversion of IDoc/function module data to and from XML) has been developed here at SAP. And with release 4.7 (2003), SAP obtained 100% control over the source code, and we have done many fixes and enhancements in the webMethods part of the code (as well as in our own...) since then.
    I just wanted to make this point clear...
    BTW: the problem reported here is neither related to webMethods, nor to SAP: it's simply a problem with the certificate (probably a mismatch between private key and public key?!)
    Best Regards, Ulrich
    (SAP BC team)

  • Using a SQL data source and XML data source in the same template

    I am trying to develop a template for the Request for Quote report generated in Apps 11.5.10. I have loaded the data from the XML output into the template, but I am missing one field - I need the org_id from the po_headers table. Is it possible to use a sql data source (i.e., "select org_id from po_headers_all where po_header_id = [insert header_id from xml data]...") in addition to the xml data source to populate the template at runtime? When you use the Insert > SQL functionality is it static at the time the template is created, or does it call to the database at runtime? I've looked through all the docs I could find, but this isn't clear.
    Thanks for any help or suggestions you may have.
    Rhonda

    Hi Pablo
    Thats a tough one ... if you go custom with a data template you will at least get support on the data template functionality ie you have a problem when you try and build one. You will not get support on the query inside the data template as you might have gotten with the Oracle Report, well you could at least log a bug against development for a bad query.
    Eventually that Oracle Report will be converted by development anyway, theres an R12 project going on right now to switch the shipped OReports to data templates. AT this point you'll be fully supported again but:
    1. You have to have R12 and
    2. You'll need to wait for the patch
    On reflection, if you are confident enough in the query then Oracle will support you on its implementation within a data template. Going forward you may be able to swap out your DT and out in the Oracle one without too much effort.
    Regards, Tim

  • XML data 32K into CLOB

    Hi all,
    I am trying to use UTL_FILE.PUT_LINE to output an XML file. This xml file is the result of a select query. Hence converting the result of the select query into xml format using dbms_xmlgen.getxml and storing it in a variable. But the resultant xml data > 32k . What would be the best way to store it in variable? When using CLOB datatype, getting a numeric value error.
    Thanks in advance.

    As you didn't post the code, nor included a four digit database version, you are asking someone to look in a crystal ball.
    Sorry, they are out for repair.
    Also the XDB forum would be more appropriate.
    Sybrand Bakker
    Senior Oracle DBA

  • How i can transfer XML data from internet to SAP R/3?

    Hi all,
    I have an issue to catch data from internet (perticular website) in xml format and i want to update that xml data format into SAP R/3 database. so how i can do that?
    Can I do directly or i should use any third party tools?

    Hi Deepak,
        Refer these two weblogs,
    /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    /people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi
    I hope, this will solve your problem
    Regards,
    Deviprasad

  • DataGrid does not display XML data

    Hello, and thanks for reading this...
    I am having a problem displaying XMLList data in a DataGrid.
    The data is coming from a Tree control, which is receiving it
    from a database using HTTPService.
    The data is a list of "Job Orders" from a MySQL database,
    being formatted as XML by a PHP page.
    If it would be helpful to see the actual XML, a sample is
    here:
    http://www.anaheimwib.com/_login/get_all_orders_test2.php
    All is going well until I get to the DataGrid, which doesn't
    display the data, although I know it is there as I can see it in
    debug mode. I've checked the dataField property of the appropriate
    DataGrid column, and it appears correct.
    Following is a summary of the relevant code.
    ...An HTTPService named "get_all_job_orders" retrieves
    records from a MySQL database via PHP...
    ...Results are formatted as E4X:
    HTTPService resultFormat="e4x"
    ...An XMLListCollection's source property is set to the
    returned E4X XML results:
    ...The "order" node is what is being used as the top-level of
    the XML data.
    <mx:XMLListCollection id="jobOrdersReviewXMLList"
    source="{get_all_job_orders.lastResult.order}"/>
    ...The "jobOrdersReviewXMLList" collection is assigned to be
    the dataProvider property of a Tree list, using the @name syntax to
    display the nodes correctly, and a change event function is defined
    to add the records to a DataGrid on a separate Component for
    viewing the XML records:
    <mx:Tree dataProvider="{jobOrdersReviewXMLList}"
    labelField="@name"
    change="jobPosForm.addTreePositionsToDG(event)"/>
    ...Here is the relevant "jobPosForm" code (the Job Positions
    Form, a separate Component based on a Form) :
    ...A variable is declared:
    [Bindable]
    public var positionsArray:XMLList;
    ...The variable is initialized on CreationComplete event of
    the Form:
    positionsArray = new XMLList;
    ...The Tree's change event function is defined within the
    "jobPosForm" Component.
    ...Clicking on a Tree node fires the Change event.
    ...This passes an event object to the function.
    ...This event object contains the XML from the selected Tree
    node.
    ...The Tree node's XML data is passed into the positionsArray
    XMLList.
    ...This array is the dataProvider for the DataGrid, as you
    will see in the following block.
    public function addTreePositionsToDG(event:Event):void{
    this.positionsArray = selectedNode.positions.position;
    ...A datagrid has its dataProvider is bound to
    positionsArray.
    ...(I will only show one column defined here for brevity.)
    ...This column has its dataField property set to "POS_TITLE",
    a field in the returned XML record:
    <mx:DataGrid width="100%" variableRowHeight="true"
    height="75%" id="dgPositions"
    dataProvider="{positionsArray}" editable="false">
    <mx:columns>
    <mx:DataGridColumn width="25" headerText="Position Title"
    dataField="POS_TITLE"/>
    </mx:columns>
    </mx:DataGrid>
    In debug mode, I can examine the datagrid's dataProvider
    property, and see that the correct XML data from the Tree control
    is present. However, The datagrid does not display the data in any
    of its 6 columns.
    Does anyone have any advice?
    Thanks for your time.

    Hello again,
    I came up with a method of populating the DataGrid from the
    selected Item of a Tree Control which displays complex XML data and
    XML attributes. After the user clicks on a Tree branch, I call this
    function:
    public function addTreePositionsToDG(event:Event):void{
    //Retrieve all "position" nodes from tree.
    //Loop thru each Position.
    //Add Position data to the positionsArray Array Collection.
    //The DataGrid dataprovider is bound to this array, and will
    be updated.
    positionsArray = new ArrayCollection();
    var selectedNode:Object=event.target.selectedItem;//Contains
    entire branch.
    for each (var position:XML in
    selectedNode.positions.position){
    var posArray:Array = new Array();
    posArray.PK_POSITIONID = position.@PK_POSITIONID;
    posArray.FK_ORDERID = position.@FK_ORDERID;
    posArray.POS_TITLE = position.@POS_TITLE;
    posArray.NUM_YOUTH = position.@NUM_YOUTH;
    posArray.AGE_1617 = position.@AGE_1617;
    posArray.AGE_1821 = position.@AGE_1821;
    posArray.HOURS_WK = position.@HOURS_WK;
    posArray.WAGE_RANGE_FROM = position.@WAGE_RANGE_FROM;
    posArray.WAGE_RANGE_TO = position.@WAGE_RANGE_TO;
    posArray.JOB_DESCR = position.@JOB_DESCR;
    posArray.DES_SKILLS = position.@DES_SKILLS;
    positionsArray.addItem(posArray);
    So, I just had to manually go through the selected Tree node,
    copy each XML attribute into a simple Array, then ADD this Array to
    an ArrayCollection being used as the DataProvider for the DataGrid.
    It's not elegant, but it works and I don't have to use a Label
    Function, which was getting way too complicated. I still think that
    Flex should have an easier way of doing this. There probably is an
    easier way, but the Flex documentation doesn't provide an easy path
    to it.
    I want to thank you, Tracy, for the all the help. I checked
    out the examples you have at www.cflex.net and they are very
    helpful. I bookmarked the site and will be using it as a resource
    from now on.

  • Edit/add XML data in BI Publisher

    Hi
    I have a java program that is generating an XML file that I am using as input for my BI publisher for PO report. However, I want to add some extra information(location addresses corresponding to location id) that is not there in the XML and I cannot edit the java program generating it. Is there any way I can do this in BI publisher? Can I edit/add XML data in BI publisher? This is really urgent and I appreciate any help.
    Thanks,
    Sharmila

    You have to edit the package which has the sql query,
    without fetching them in xml , you cannot display that.
    BIP will not help you to get that into report.
    The code which generates the XML data has to edited for sure..
    I guess, i helped one guy for similar requirement,
    i guess you are asking in the same report..
    the java program in turn calls the Pl/Sql package which generates the XML data and pass it to the Java Concurrent Program.
    The Pl/Sql package picks data from these views po_headers_xml, po_lines_xml, po_distribution_xml.
    you can also add the columns you want to be displayed in these views, and then change the template accordingly.

  • Regrouping the XML data source in BI Publisher

    Hello,
    We have a requirement in BI Publisher to develop a template accessing the data from different sources (data sets) and need to regroup the whole data by a field which exists in all the data sets.
    Below is the sample example of the source file
    <DATA><Total_Depletion>
    <TOTAL_DEPLETION_ROW>
    <BRAND_GROUP>BEEFEATER</BRAND_GROUP>
    <BRAND>BEEFEATER</BRAND>
    <OPP_RISK>-50.000001</OPP_RISK>
    <STATE>AL</STATE>
    </TOTAL_DEPLETION_ROW>
    <TOTAL_DEPLETION_ROW>
    <BRAND_GROUP>BEEFEATER</BRAND_GROUP>
    <BRAND>BEEFEATER</BRAND>
    <OPP_RISK>53.1</OPP_RISK>
    <STATE>AR</STATE>
    </TOTAL_DEPLETION_ROW>
    </Total_Depletion>
    <Accounts_sold><ACCOUNTS_SOLD_ROW>
    <BRAND_GROUP>BEEFEATER</BRAND_GROUP>
    <BRAND>BEEFEATER REGULAR</BRAND>
    <STATE>MC</STATE>
    <ACTUAL_ONPREMISE>2</ACTUAL_ONPREMISE>
    </ACCOUNTS_SOLD_ROW>
    <ACCOUNTS_SOLD_ROW>
    <BRAND_GROUP>BEEFEATER</BRAND_GROUP>
    <BRAND>BEEFEATER WET</BRAND>
    <STATE>CA</STATE>
    <ACTUAL_ONPREMISE>916</ACTUAL_ONPREMISE>
    </ACCOUNTS_SOLD_ROW>
    </Accounts_sold></DATA>
    Now our requirement is to regroup the whole data by Brand and then state, and need to display in two different tables.
    Can any one help us in fixing this issue out.
    Thanks a lot,

    Hi Stefanos,
    Check beow blog for reference...
    /people/community.user/blog/2007/08/13/sap-netweaver-70-bi-how-to-send-xml-data-to-bi--enhancement
    Regards,
    KK.

  • Tranferring XML data to the B1 System

    Hi,
    Iam very new to the B1 system..
    Iam looking to transfer the data from the XML file to the B1 system.
    to make it clear, the requirement is i have a purchase order coming from one system and it is saved in the server..the data in the XML file will have to be shown in the B1 system as a sales order..
    Please any one can help on this ASAP.
    Thanks,
    Bhaskar.

    Bhaskar,
    The forum that you have posted your question in is for questions related to the SAP Business One Integration to SAP NetWeaver.  You question seems more generic as to how to import XML into SAP Business One.
    One way of doing this would be to create a small program using the Business One SDK.  You can search the SAP Business One SDK Discussion Forum as well as look at the SDK documentation that comes with the product.  If you converted the XML data to text, you could use the Data Transfer Workbench.  There are different options that you have.
    Eddy

  • Convert XML data to byte array...

    Hello All,
    In my application, i have an XML file and the corresponding XSD file. This XML file is having some date, which i want to convert into an byte[] and then save it in a file. 
    How i can convert the XML data in the byte[]? Here as an example of the xml file and the byte[] data which i want to save in a file.
    <?xml version="1.0" encoding="utf-8"?>
    <HeadersInfo>
    <header>
    <id>0</id>
    <Name>H1</Name>
    </header>
    <header>
    <id>1</id>
    <Name>H2</Name>
    </header>
    </HeasersInfo>
    In the above example 'id' field is of type 'uint' and 'name' field is of type 'string' with max length of '5'. So in this case my byte array should be as shown below:
    00 00 00 01 48 31 00 00 00
    00 00 00 02 48 32 00 00 00
    Here underlines values are for the 'id' parameter where as values in bold are for 'Name' parameter for all the header values in sequence. Name parameter is null (0x00) padded.
    Thanks in advance,
    IamHuM

    Hi,
    the following example extract the id, name values using LINQ To Xml and writes it to a memory stream using a binary writer and returns the result as a byte array:
    internal static byte[] GetXmlAsByteArray()
    var document = XDocument.Parse("<HeadersInfo>"
    + " <header><id>1</id><Name>H1</Name></header>"
    + " <header><id>2</id><Name>H2</Name></header>"
    // additional testing
    + " <header><id>32767</id><Name>H1234</Name></header>"
    + " <header><id>305419896</id><Name>H56789</Name></header>"
    + "</HeadersInfo>");
    const int NameLength = 5; // Max length for a name
    byte[] zeroBytes = new byte[NameLength]; // Helper to fill name
    using (var ms = new MemoryStream())
    using (var writer = new BinaryWriter(ms))
    // write each header
    foreach (var header in document.Root.Elements("header"))
    int id = (int)header.Element("id");
    string name = (string)header.Element("Name");
    byte[] nameBytes = System.Text.Encoding.UTF8.GetBytes(name);
    Console.WriteLine("id: {0}, Name: {1}", id, name);
    // Write id
    writer.Write(GetUIntBytes((uint)id));
    // Write name NameLength (5) max, otherwise padded
    if (nameBytes.Length > NameLength)
    writer.Write(nameBytes, 0, NameLength);
    else
    writer.Write(nameBytes, 0, nameBytes.Length);
    if (nameBytes.Length < NameLength)
    writer.Write(zeroBytes, 0, NameLength - nameBytes.Length);
    byte[] result = ms.ToArray();
    // dump array
    foreach (var value in result)
    Console.Write("{0:X2} ", value);
    Console.WriteLine();
    return result;
    public static byte[] GetUIntBytes(uint value)
    if (BitConverter.IsLittleEndian)
    // swap bytes
    value = ((value & 0x00ff) << 24)
    | ((value & 0xff00) << 8)
    | ((value & 0x00ff0000) >> 8)
    | ((value & 0xff000000) >> 24);
    return BitConverter.GetBytes(value);
    For a general purpose solution you should create a class and split the example into separate methods to extract the data and write the values (integers, strings).
    Regards, Elmar

Maybe you are looking for

  • How can I get my old firmware back again?

    With firmware version 2.17 I used to have some problems with my system hanging now and then. With firmware 2.30 all my problems were solved and I was happy. Stupidly enough I upgraded to firmware verison 2.50 because MSI mentioned better support for

  • Filename Extensions When Saving

    I recently had a system crash requiring that I start over from scratch. I was on 10.8.2 before the crash, and am on 10.8.2 after restoration. Prior to the crash, when I saved a document the Save dialog included a check box at the lower left that read

  • Serial number off pkg is not accepted to start program

    Serial number is not accepted to start program.  serial number is off of pkg as requested. 

  • Does any one knows, How i can make a slideshow on iWeb to my welcome web page?

    Can any one help please! How to create ore make a slideshow with buttons the can be controlled from the visitors on the welcom page in iWe ?? Example: "When you go on Apple website and press (iPhone) for example, the slideshow stars automaticly, also

  • Indeign cs 5.5 Installation problems

    I have two packages Adobe CS 5.5 Production Premium Adobe CS 5.5 Design Standard I need to install all Production Premium 5.5 package and (InDesign) from design standard 5.5 package. The Adobe CS 5.5 Production Premium is installed successfully, but