How are certs encoded in xml backup files?

I need to dynamically build a GP in a script due to not knowing ahead of time the certs that need to be included.  I do not see a programmatic way to do this but am going to try by editing the XML in a backup of a sample policy.  How are the certificates
encoded in these backups?  Below is the one I added through the UI as a test.
<q1:Data>040000000100000010000000477892DB8AEC1B5368F01D009C34775E0F00000001000000140000008DF2C761AE6D13B71643F207BE9B82362DCC14921400000001000000140000004974BB0C5EBA7AFE0254EF7BA0C695C6098070961900000001000000100000000369EC222BD877C01803F7E32EEAF6990300000001000000140000008C941B34EA1EA6ED9AE2BC54CF687252B4C9B5615C0000000100000004000000000800002000000001000000740300003082037030820258A003020102020105300D06092A864886F70D0101050500305B310B300906035504061302555331183016060355040A130F552E532E20476F7665726E6D656E74310C300A060355040B1303446F44310C300A060355040B1303504B49311630140603550403130D446F4420526F6F742043412032301E170D3034313231333135303031305A170D3239313230353135303031305A305B310B300906035504061302555331183016060355040A130F552E532E20476F7665726E6D656E74310C300A060355040B1303446F44310C300A060355040B1303504B49311630140603550403130D446F4420526F6F74204341203230820122300D06092A864886F70D01010105000382010F003082010A0282010100C02CC1F68D3BACFF3F3CD671BEB8742207EC704115FCAB40E307AAC1C3D89FFEDA4C3ABF3FC8D8287B4B3601C0AC4525C3D20E0A8F851864103D1A13702A6F8ED7DC8D93B3410F3821CDADABC23D2A05D35711370DCD8C51F993E3CC4649218E14B4CDCB143E38CD7231EEAB12F265EA342E565DFFEE6375CB6DBA9134FC9EF3F42D1CBE50C442DF5988FF6AB3FAA86C3DCB5671710596BB9F80E58045596741B0EBC3AD60A4807506179C0EF443E0990E1BFB7FF5B3CCB28182B1FD32C1B8BE41A464B5603A5A51308CCEDE412C19475C491064B974A98741AF7D6EBAC1B8A1BF65313A0467F9B5BB8E928A0063B8B1E68C385F83FF50D53BA25D6BB210CC630203010001A33F303D301D0603551D0E041604144974BB0C5EBA7AFE0254EF7BA0C695C609807096300B0603551D0F040403020186300F0603551D130101FF040530030101FF300D06092A864886F70D0101050500038201010098918D3F89C8BBF5C06973293B35ACBAB308763D700992E9844421017D14761BEE516C1D8D15372D7B3169F49A44B8AF46CC34FA23CB032719D28321752BE7E01B9926DC844095E8A8D2CCF6585C66EF3F4A9710821DBA0AA2DD5B062B9DA7644EEB2E0135A4B43F13AD55E4D573A8699B11F198F2311E6F40D4F8789F8E91A06F70049066AA062BCEE17A92B57DE1E0D196E7A13A2DCCB19D1F0544ED8799D34D1A7039C1040CE57ED9F1AFD7200EF1227A25A47399CC3FA4072796A8A295ED82B916D39E0B87C2C1F288F562DF68DFC7BC6951EDB15CDC5454290F09399AAC03C1DB0C4DAE6F0A7A1649F1BF91D23894D3F6952CB76CC942B68DCA908D85D9</q1:Data>

Hi Adam,
Based on your description, for this involves scripting, in order to get better help, we can ask for suggestions in the following scripting forum.
The Official Scripting Guys Forum
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
Best regards,
Frank Shen

Similar Messages

  • How To: Get encoding of a remote file

    How To: Get encoding of a remote file
    Java EE
    URL url = new URL ("http://www.someSite.com/myCsvFile.csv"); // comma separated
    InputStream is = url.openConnection().getInputStream();
    InputStreamReader reader = new InputStreamReader(is);
    System.out.println("reader.getEncoding(): " + reader.getEncoding());
    For both an ISO-8859-1 file and a UTF-8 file I get the following print out:
    reader.getEncoding(): Cp1252
    Could it have something to do with this warning during boot the .war?
    [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
    If I use local files it prints ISO8859_1 for one of the files.

    All of that is because the HTTP server attaches a charset to every response. That's what you are seeing. The server may be using some logic to determine the actual encoding of the file it returns, or it may simply be using a hard-coded charset which may or may not be suitable for reading the file. The latter is unfortunately more likely.
    By the way if you receive an XML file over HTTP, and the HTTP charset differs from the encoding declared in the XML document, there's a rule which says the HTTP charset takes precedence. (I don't know where that rule is documented, but I have encountered that situation in real life -- the data came from a Google application -- and that rule was indeed the right thing to do.)
    If you're still under the impression that there's something which can look at a file and determine what encoding was used to produce it, let me tell you that there isn't. Sure, there's that XML prolog thing which works for XML files (if they weren't botched by the producer), but for text files in general there's no way to determine their encoding. Short of asking the person who created them, that is.

  • How do your create an xml glossary file?

    Everyone talks about importing the glossary from an xml file , even from one created from Excel. I have browsed until my fingers bleed and watched the tutorials and seached the Captivate files to try and find a glossary root file to work with.
    Please excuse my Newb question but how to I create an xml file, specially using Excel (the easiest way for me to set up a Glossary)?  Is there an example I can work off? How do I paste the import xml tags as offered in the widgit to such a file.
    This glosary file will be imported and used in to approximately 40 modules so obviously I want just one file to work with.
    Again sorry for the newb question.

    Hi Jeremia,
    From one newb to another ;o)
    I ditched the whole thing  as soon as I figured it out because putting the glossary in to the captivate slides was really clunky and not a neat solution. Instead we are using our custom written background database and having a glossary link in the main navigation menu, a luxury many captivate scorm projects would not have.
    However the spreadsheet is a way of writing all the tags needed for the xml code (fill down). Just highlight ALL the cells with all the tags as per the screen shot, copy and then paste in the open dreamweaver page. However, make sure the dreamweaver page is an xml page. You can then use the xml dreamwever page as the import in to captivate.
    Because you are copying from a spreadsheet the paste action in dreamweaver will insert tabs between the data of the cell. You get rid of this by doing a search and replace...search for the tab and replace with nothing, effectively deleting the unwanted tabs.
    It is highly inelegant but it works.
    Hope this helps and does not confuse it further.
    Re: How do your create an xml glossary file?
    created by bittymiah83 in Adobe Captivate - View the full discussion
    This is very helpful - I'm just missing the piece of how I import the excel data into the Dreamweaver code. Am I repeating the same code over and over in Dreamweaver and cutting and pasting from the excel file?
    I'm a newb also so any help would be appreciated!
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6173858#6173858
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6173858#6173858
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6173858#6173858. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe Captivate at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • How to merge five different xml input files into three output files

    Hi All,
    Can you please explain me to merge 5 different xml input files into 3 output xml files.
    I'm looking forward for ur suggestions...
    Thanks
    Pullarao

    HI
    Please see the below links
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Many other examples can be found under the following link at help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    And some weblogs
    https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    /people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****
    /people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
    Also have a look at these seminars,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
    <b>BPM CollectPattern..</b>
    http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    Thanks !
    Regards
    Abhishek Agrahari
    Questions are welcome here!!
    <b>Also mark helpful answers by rewarding points </b>

  • How to ZIP Oracle Datapump export backup file

    Hello All,
    My customer is asking to give him the production data dump to the following path \\138.90.17.56\OMNISAFE.
    I really don't understand his requirement and he also wants me to zip the export backup file. How do I do that, Do you know any unix command to zip backup files.
    thanks and regards
    cherry

    1013498 wrote:
    Well Thanks for your reply.....my oracle version is 11.2.0.3.b and if we have the compression option can you please elaborate how to do that......
    It's in the documentation.  See Data Pump Export
    let us say my expdp file is abc.dmp...should I give the command gzip abc.dmp or any different.
    Let me google that for you
    One more question what does teh customer mean by production data dump to the following path \\138.90.17.56\OMNISAFE. please explain
    How do we know what the customer means?  Why don't you ask him?
    That said, it looks like a url to an ip address and a defined folder at that ip address.  Again, if the customer wants you to send them a file, you need to be working with said customer on the mechanics of accessing their system.
    All that said ....
    Learning how to look things up in the documentation is time well spent investing in your career.  To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com.
    Locate the link for your Oracle product and version, and click on it.
    You are now at the entire documentation set for your selected Oracle product and version.
    BOOKMARK THAT LOCATION
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab (for 10.x) or the "Master Book List" link (for 11.x) you will find the complete documentation library.
    Spend a few minutes just getting familiar with what kind  of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth.  They are reference manuals.  Just get familiar with what is there to be referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - *Read a chapter a day from the Concepts Manual*.
    - Take a look in your alert log.  One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - *When you have finished reading the Concepts Manual, do it again*.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.

  • How can i delete old RMAN backup files

    Hi All
    We have configured RMAN backup for one of our clients PROD instance[10.2.0.3] in 2010 Dec.
    Now my doubt is how can i delte old backup files of Dec and January, only this two months backup files only i need to delte.
    kindly suggest me.
    The parameters are :
    CONFIGURE RETENTION POLICY TO NONE;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/ebiz/backup/PROD-%F';
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/ebiz/backup/PROD-%U';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/ebiz/oracle/proddb/10.2.0/dbs/snapcf_PROD.f'; # default
    Regards
    Shaik

    Hello,
    You can use this :
    DELETE BACKUP COMPLETED BEFORE TO_DATE('01/31/2011 00:00:00','MM/DD/YY HH24:MI:SS');Regards,
    Sylvie

  • How to turn off eps saving backup file as filename -01.eps?

    Hi all,
    I'm not at sure how I came about this/which box was ticked in saving options but whenever I save eps files, Illustrator will also save another backup file with '-01' after the filename and before the extension '.eps'. Also, whenever I save the document (as opposed to 'save as') a dialogue box will appear asking me if I want to replace the already existing file. Obviously I do.
    My question is: How do I turn this option off?
    NOTE: as far as I know, this problem of mine is only limited to .eps files, or more precisely it doesn't seem to happen when saving .ai files.
    Thanks.

    Thanks Larry!
    I can't see the relevance in "Use Artboards" and saving a back up but I'll take it.

  • How can I copy the iPhone backup files to another iTunes Library?

    I'm changing to my Window laptop from a PC. I want to copy my iPhone backup to the Library in the laptop. How can I find those backup files? I don't want to lose my apps and everything, you know.

    This article will tell you where your iPhone backup is stored on your computer:
    http://support.apple.com/kb/ht4946 iTunes content is NOT part of the iPhone backup. You can either copy your iTunes library to your new computer, or you can re-download your purchased iTunes content(except ringtones) to your new computer; http://support.apple.com/kb/ht4527

  • Before I reinstalled my Windows 7 I made a backup of a number of items. Now I don't know how I can import the cookes backup-file cookies.sqlite.

    I had to re-install my computer (windows 7). I made a lot of backup-files. After the new installation of Windows 7 I am now putting back all those files. I just did it successfully with my bookmarks. My next step would be my cookies for Firefox, but I cannot find the right way to import the backup file cookies.sqlite into Firefox.
    Could you tell me how I can solve this problem?
    Thanks in advance.
    Piet

    Please see this article: [[Recovering important data from an old profile]]
    If this answers your question, please click the '''Solved it''' button next to this post after you log in into the forum. This will help others searching for a solution to the same thing.
    Thanks.

  • How can I find the iphone backup files

    I recently moved my iTunes files to an external hard drive and wiped my PC.  In the meantime I had to replace my iPhone.  Now I don't know how to restore all the apps, pics, etc to my new iPhone!  Help!

    The location of the backup file is :
    Mac: ~/Library/Application Support/MobileSync/Backup/
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Windows Vista and Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    So it isn't in the iTunes directory, so you may not have copied it - if you did then copy it back to the same location on your computer.
    If you copied the iTunes directory then you should have copies of your apps (though not their content) in a folder called Mobile Applications, if not then you can re-download them for free : http://support.apple.com/kb/HT2519

  • How to delete songs from itunes backup file

    how to delete songs from itunes backup file

    There is nothing to delete, as no iTunes content is included in any iPhone backup.

  • How do I make a new backup file of my current library?

    I just finished locating all my music in my C drive (manually & individually!) since 7.7 wiped out my library and I would like to make a completely new backup file location of this library so that all my music is in one location (just in case, for next time). For some reason my music was in like 3 different iTunes music files and it was quite a nightmare switching back and forth.
    Is there an easy way to do this? And can I set up iTunes to now automatically backup new music to this new location?
    Thanks

    Nothing automatic within iTunes.
    I use a backup program to copy entire itunes folder to another drive. No compression, archiving, or renaming; just a straight copy. Granted, this uses up twice as much space but I feel safer than about being able to get accidentally deleted files back.

  • How can i turn off encrypted backup file if i do have the passowrd?

    i have a problem with restoring the backup files on my iphone, it shows me an error message of corrupted process. Now i downloaded Dr.fone program in order to extract the backup files but it does not extract encrypted backup. So i need a method for turning off the encryption and please note that i do have the password for that encryption i just need a way to turn it off using the password.
    thanks

    after ive connected the phone to itunes and i click on restore backup a box pops u and says
    Find my iphone must be turned off before 'My Iphone' can be restored.
    Go to icloud settings on you iphone and turn off Find my Iphone before restoring your iphone.
    the first time this came up i went into icloud on my computer and removed the old phone from there but from what ive read it will only be properly removed when the fone gets turned back on.

  • How can i get rid of Backup Files?

    Hi,
    whe using "Write To Measurement File" and  "Read From Measurement File" i read and save to the same file (i.e. "example.lmv"). When i run the program and the signal is saved in this file, the information is saved in the file but at the same time it creates a "backup" file; I noticed that this is caused when i use "Read From measurement file". Is there any way that i can run the program, without creating this backup files? I run the program many times a day and i dont want to fill my computer with these files every time i run it.
    Thank you for your help,
    Guillermo 
    P.S: I attached an example VI and the file where the signal is saved. 
    Solved!
    Go to Solution.
    Attachments:
    example.vi ‏86 KB
    example.xlsx ‏11 KB

    Thanks for your help again.  The VI that i sent you was a mere example of the true program that I am working on. This program controls a motor and rotates it counter clockwise and clockwise. I can only rotate the motor a maximum of 360 degrees so i set up the program to give me an error whenever I rotate the motor 0 degrees or less and 360 degrees or greater. To do this, I write the mount of degrees desired on a file ("Write to Measurement File") and the next time i rotate the motor I use the "Read from Measurement File" to read the previous amount of degrees that i wrote and adds it to the new one and saves it again on the same file. When this number of degrees reaches 360 degrees, it gives me the a message that i have to change the direction of the motor. The issue that i want to fix is that every time i write to the file it also creates a backup file and i want to get rid of it so i dont have a new file created every time i run the program. I noticed that whenever i use a program that just writes on a file using "Write to Measurement FIle" it writes on that file, only, and  does not create a backup file. Whenever i use "Read to measuremnet file" to then write the signal in "Write to Measurement File" the backup file is created; so i came to the conclusion that is the "Read to Measurement File" that is creating this backup. Is there any other way to call a file without creating this backup file? 
    Here i will add the three VI's so you can see what i mean. I will add the full program, and the two examples that i explained above.
    Thank you,
    Guillermo Naranjo. 
    Attachments:
    Final Camera Program2.vi ‏114 KB
    example.vi ‏84 KB
    example2.vi ‏66 KB

  • How can I read my iPhone backup files?

    I would like to have a readable version of my text message backup files. I have found the file but I can't read it in its current database format. Please help!

    Why not read them on your phone? Or if the screen's too small for that to be comfortable, email them to yourself and read them on the Mac.

Maybe you are looking for