How does one read Digital Certificate attributes/values?

The plan:
Distribute a document secured by "Certificate Security".  For those who have been granted the rights to print the document, need to be able to print the "User's Name" on the document - for traceability reasons.
In before Acrobat XI (using Pro version), I was able do this with in a javascript  assigning "identity.name" and "identity.loginName" to arbitrary variable; then use addwatermarkfromtext function to display this data on each page.
However with Acrobat XI, I see that identity.name and identity.loginName are Privileged and cannot be called from a page or document level script.  Furthermore addwatermarkfromtext is not supported in Reader (which the recipients are using). So my old tricks no longer work.
I've over come the addwatermarkfromtext restriction inelegantly by using textboxes.
The self-signed certificate I'm using allows for signing and execution of script; but not been successful in using the identity attributes - even with trying "app.trustedfunction... app.beginPriv() etc...
In checking the API reference, see a possible work-around using the certificate properties - specially: certificate.subjectCN. The API reference shows this as a read-only, non-Privileged value!  Am at a loss on how to call/retrieve.  What I am hoping to do is: as the document is secured by Certificate, I want to read the Certificate's "common name" value of the person who opened the document and use this as my traceability token on printed documents.
Would appreciate examples of JavaScript code to retrieve and use the Certificate.subjectCN of the user who has the document open.
(or if I'm still barking up the wrong tree - direction to the right path).
Many Thanks !

If you just want to read the current state of the lines when one changes, you could configure non-buffered change detection (call DAQmxCfgInputBuffer with 0 samples per channel after you configure change detection timing but before you start your task).
Use the change detection event and read just a single sample per callback.
If the software can't keep up though, you wouldn't have a buffer of all of the previous transitions.  If this is something you need, you'll need to keep using the buffered change detection.  Either event could work, but not without caveats:
1.  The Every N Samples event is generated when the requested number of samples are transferred off of the device to the host PC buffer.  It is difficult to control exactly when this transfer happens (though there are channel properties you can try setting--I can't experiment since I don't have the same hardware handy).  You're not getting the events currently because it is likely that the data is sitting in the device FIFO until the transfer is initiated.
2.  The change detection event is generated from the hardware signal.  You have to read the data to get the data transfer to happen though, but until you read the data you don't know how many samples there will be (if the line is changing rapidly you might get several samples per event for example).
For the record I find the buffering pretty awkward on USB devices when dealing with callbacks (e.g. if you are using EveryNSamples callback shouldn't the data transfer be initiated every time N samples are acquired?).  I haven't played with it in a while and it's possible the Data Transfer and Memory Channel Properties can be used to deal with the buffering issues.
Best Regards,
John Passiak

Similar Messages

  • How does one read memo pad items in Palm PDA?

    I would like to read a memopad text file into my LabVIEW Palm PDA compiled program. I would think that this would be easy?

    JoeLabView wrote:
    > I am also curious at how you do this with the Palm Pilot.
    >
    > I understand what Liz is saying because I was able to do it that way
    > using HP's PDA running Win-CE.
    >
    > Reading the memo on the Palm is a completely different story. If you
    > are successful, let us know how you did it...
    >
    > Thanks... and good luck.
    >
    > -JLV-
    The source code of the Memo application is shipped with CodeWarrior.
    The location will be something like C:\Program
    Files\Metrowerks\CodeWarrior\(CodeWarrior Examples)\Palm OS 4.0 SDK
    Examples\Memo
    I haven't read all the source code,
    but it seems that the Memo application creates one database that
    contains records that are the memo items.
    If you just need to read the texts of a memo item,
    I th
    ink you can write a C function that opens the database, gets the
    record associated with the memo item, reads the records, and returns a C
    String.
    Wrap this C function with a Call Library Node to use it from LVPDA.
    I imagine the prototype would be something like
    char* GetMemoText(uInt32 index) where index is the index of the memo item.
    miko.h

  • How does one read the Unity transaction logs on Exchange?

    I'm trying to find out who placed a call to whom on a particular day and time.  A subscriber receives a blank email periodically with no "from" statement, just a timestamp. They don't have unified messaging.  I want to see if the transaction logs (located on Exchange) contain that information but they are all cryptic symbols.  Is there an application or utility to read tham?  These are the files located in the \Exchsrvr\MDBDATA folder. This is Unity 5.x and Excahnge 2003. Thanks.

    Hi,
    I think you may be wanting to look at Message Tracking?
    http://www.msexchange.org/tutorials/Exchange-2003-Message-Tracking-Logging.html
    But here's also an explanation of the transaction logging and how to read them from the same site:
    http://www.msexchange.org/articles/Transaction-Logs-Lifeblood-Exchange.html
    Hope that helps,
    Brad

  • How does one update Subtemple value from Yes to No?

    Greetings! In the instructions of a published problem statement (Note ID: 808571.11) there is a line that says:
    "c) Check if the subtemplate is set to NO. Update it to NO if it is set to Yes."
    How does one update the Subtemplate value from Yes to No? In edit configuration, I do not see a Subtemplate value column.
    Many thanks in advance fr your suggestions.
    Tom

    With all due respect ... I do not see how one can change the Subtemplate value from Yes to No. When I query the offending Template, the Subtemplate column is not displayed in bold, indicating to me that it can not be updated. Clicking on Edit Configuration, doe not provide an ability to change the value either.
    As best I can determine, one needs to 1) query up the template
    2) download the rtf file(s)
    3) end date the template
    4) create a new template and then set the Subtemplate value to No.
    And the same steps appear to be required in order to add or update a template Description.
    Which raises the question, Why can this not be done by editing the configuration?

  • My ipod touch is being read as just a simple camera and will not let me access it, how does one go about fixing this problem

    My ipod touch is being read as just a simple camera and will not let me access it, how does one go about fixing this problem? My screen has recently cracked and i need to retrieve my music from it but cant do so when my computer is reading it as a camera and only showing me its pictures.

    Here:
    iOS: Device not recognized in iTunes for Windows
    or
    iOS: Device not recognized in iTunes for Mac OS X
    Also try another computer.

  • How does one uninstall Reader 9.4.5

    How does one uninstall Reader 9.4.5

    You may want to try the following:
    Run this fix from Microsoft: http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Uninstall Reader using Add/Remove Programs
    If you want to reinstall Reader, download it from http://get.adobe.com/reader/direct/

  • I have both Reader 10.1.8 and 9 on my I-mac.  Shouldn't 9 be deleted and how does one do it?

    I have both Reader 10.1.8 and 9 on my I-mac.  Shouldn't 9 be deleted and how does one do it?  I keep ignoring messages to update 9 to 9.55 as I've already got 10.1.8.

    Use AppZapper to remove 9 and all associated files (it's a free trial).

  • How does one increase Dreamweaver text of my reading material?

    How does one increase the Dreamweaver text size for it's instructions etc.?

    The font sizes in the Dreamweaver user interface are controlled by the system fonts on your computer. The only way to increase them is to increase the size of the system fonts. In Windows, you do that through the Control Panel. MAC may be different

  • How does one pass import parameters to a report within a method?

    Hello all,
    Well how does one  pass import parameters to a report which is within a method ...end method.
    for example :
    method 123
    SUBMIT reportname using selection '1000'
    endmethod .
    Here we need to pass values into the selection screen and run the report for those values.
    The values are say 'ABC'   (  tablename "DEF" and field name "HIJ" ).
    I hope the question is clear, awaiting your response 
    Thanks and Regards,
    Sandeep.

    Go to SE24
    Parameters: Give the Parameter name, Typing method is "Type" is the domain type that u are selecting, say for e.g :  Parameter is "P_CONT" , its associated type "CHAR32" etc
    For Select Options:  Parameter name say "S_CUST", Type"importing". For this you need to give an associated type which must be created as "TABLE TYPE " in SE11. That table type needs to have a "LINE TYPE" .
    LINE TYPE is a Structure created with components "SIGN, OPTION, LOW & HIGH" for select-Options.
    NOTE: for a Table type related to Customer data fields "say KUNNR", the line type created must have the Component Type and data Type corresponding to the Data Element associated with "KUNNR" ;i.e: "CHAR" etc.
    See if this is clear to you or revert back in case of any Confusion.

  • How does one change ownership of event?

    How does one change ownership of an event?
    We are running OCS 9.0.4.2 on redhat enterprise linux 3.0
    I have a calendar entry which I got from:
    mySess.fetchEventsByRange(Api.CSDK_FLAG_STREAM_NOT_MIME | Api.CSDK_FLAG_FETCH_EXCLUDE_DAILYNOTES |
    Api.CSDK_FLAG_FETCH_EXCLUDE_DAYEVENTS, hand, in_start, in_end, eventProp, result);
    BEGIN:VEVENT
    UID:20050620T151524Z-505dd-1-7af6ed32-Oracle
    ORGANIZER;X-ORACLE-GUID=FEA199DDB9763627E030378E793341C1;CN=old owner:mailto:old.owner@email
    DTSTART:20050801T120000Z
    DTEND:20050801T220000Z
    END:VEVENT
    So now I'm trying to save the event under the new owner using this:
    mySess.storeEvents(Api.CSDK_FLAG_STORE_MODIFY,event,result);
    where event reads as follows:
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//ORACLE//NONSGML CSDK 9.0.4.2//EN
    BEGIN:VEVENT
    UID:20050620T151524Z-505dd-1-7af6ed32-Oracle
    ORGANIZER;CN=new owner:mailto:new.owner@email
    DTSTART:20050805T120000Z
    DTEND:20050805T220000Z
    END:VEVENT
    END:VCALENDAR
    And i've run mySess.setIdentity to change to the old owner and new owner with no success?
    Please how does one change the owner of an event?

    The Calendar Sdk doesn't allow you to change the ownership of an event. (ORGANIZER value).
    Regards,
    Jean-Philippe

  • How does one create LOV Map between 2 fields for custom lookup mapping

    Hi there
    In Internet Expenses, Expense Report Line Detail we have two unrelated fields; namely Expense Location & Tax Code.
    The requirement is to map a default tax code to locations; basically when a user enters Expense Location then the mapped tax code value should default into field Tax Code.
    The location-tax code mapping is stored in a custom lookup (FND_LOOKUP_VALUES).
    My question is how does one go about implementing this?  For example is it possbile to create a new (hidden) LOV based on the lookup mapping & then create a Personalization LOV Mapping between the 3 LOV...  Or is it necessary to modify the Tax Code drop down Message Choice in JDeveloper?  Of course details are appreciated!
    FYI below is the relevant Personalization Structure from "Personalize Stack Layout: (NormalDetails)".
    Message Lov Input: Expense Location
    - Lov Mappings
    -- Lov Map: (lovMap1)
    -- Lov Map: (lovMap2)
    -- Lov Map: (lovMap3)
    - Message Text Input: Expense Location
    - Message Styled Text: Transaction Location
    - Message Text Input: Merchant Name Yes
    - Message Styled Text: Description
    - Message Check Box: Original Receipt Missing Yes
    - Message Choice: Tax Code
    - Message Check Box: Amount Includes Tax
    - Message Choice: Tax Code
    Many thanks
    G

    Hello all
    The correct & supported method is this:
    Extend the location LOV in JDeveloper & add a "default tax" attribute, this could be derived from a new location DFF storing the default tax code for each location. Now simply create a location Personalization LOV Map which takes this new location lov tax attribute & target it to the tax message choice field.
    That's my 2c worth anyway, so please give comment if you feel there is a better way.
    There is just one more little problem however... The requirement has changed! Now we require the tax code to default according to not one location field, but other fields too. For example if the user selects Expense Type of Beverage & Location of Netherlands then Tax Code should be NL19%, for Expense Type of Hotel then it should be NL6%; if the user ticks "Missing Receipt" field then it should over ride all others & set the code to NL0%.
    Any ideas?
    Many thanks
    G
    Edited by: user13363208 on 11-Aug-2010 06:51

  • How does one access their images in their libraries in Desktop Adobe Photoshop that are connected to their Mobile Adobe Shape?

    So
    I have Adobe Shape on my iphone, and in my Creative Cloud on the web it can access the images ive made. BUT, these images wont show up in my library on Photoshop on my computer and i cant seem to save them from the creative cloud on the web.
    How does one get from A to B?
    Thankyou
    Victoria

    Hi Victoria and welcome to the forum.
    I had to Google Shape but it looks interesting, and dies use the CC Libraries.  I am a big fan of CC Libraries, but have only used them between apps on the same machine.  So it is just a matter of see how they work between different systems
    Illustrator Help | Creative Cloud libraries - collaborate, sync, and share assets
    In my experience, I simply drag an asset onto the Library in one app, and it is there in my other apps.  But I have to make sure I am looking at the same library name on both computers.  Now I have been confused over syncing before, but I suspect that if you open the Application Manager and click on the little Cog icon, and in the Files tab make sure Sync is checked.  Otherwise you might as well read the help files.
    Sync digital assets in Adobe files and apps | Creative Cloud Libraries
    Good luck

  • How does one resize a photo to the dimensions required by a contest?

    How does one resize a photo in aperture to the dimensions required by contest?

    Are you submitting a print or a file?
    You set the size of your print in the print dialog.
    You set the number of pixels (the unit of linear measurement of digital images is the pixel) for a file when you create that file by exporting an Image from your Library. You can specify a recommended number of Pixels per Inch by using the (mis-named) DPI field in the Image Export Preset you use when you export.
    The files you import have a height and width in pixels.  Height/width = the Aspect Ratio.  You can crop to any aspect ratio using Aperture's Crop tool.
    What are the specs required by the contest's sponsors?
    Message was edited by: Kirby Krieger -- added aspect ratio and cropping.

  • How does one copy an xygraph from a refnum?

    Sorry, normally this is straight forward enough to push through on my own.
    Purpose:
    Pass Refnum of XY graph to subvi -->
    Subvi's purpose : PRINT XYGRAPH to file/pdf/bmp, manipulate xy graph further (change back ground color to optomize for printing, optomize xy graph size for printing, move legend), perform some simple analysis on the data (rms, pkp etc)
    Problem Statements: 
    1 When using a refnum, writing any changes to the refnums property value will also change the parent i.e. the subvi xygraph.  This is not desired, so an exact copy of the xygraph must be made.  HOW DO YOU DO THIS?
    2 When using a refnum for an xygraph, how does one retrieve the xy values?  If the property node for value is selected, a variant is produced.  (which after careful examination I was still not able to make heads or tales of this particular variant) 
    p.s. A refnum is used because the xygraph already has formatting applied to its legend, plots, axis, etc.  A refnum passed to a subvi is the only way I know to pass all formating etc for the graph.
    p.p.s. I understand that there is an invoke node that will export an image, it contains certain limitations (such as requiring the subvi be opened, since it works by similar rules to a printscrn) that make it un applicable to this problem.
    -Regards
    eximo
    UofL Bioengineering M.S.
    Neuronetrix
    "I had rather be right than be president" -Henry Clay
    Solved!
    Go to Solution.

    eximo wrote:
    Problem Statements: 
    1 When using a refnum, writing any changes to the refnums property value will also change the parent i.e. the subvi xygraph.
    I don't understand this statement. Does the subVI have a graph also? Obviously, if you make changes to properties via the refnum, then the graph it's pointing to will change.
    p.p.s. I understand that there is an invoke node that will export an image, it contains certain limitations (such as requiring the subvi be opened, since it works by similar rules to a printscrn) that make it un applicable to this problem.
    Again, I don't understand. Where's the graph? On the main VI, or the subVI? If it's on the main VI, why would this be an issue? Wouldn't the main VI window be open?

  • How does one update from iwork '09?

    I followed blog advice to download iwork trial and try to upload from there, but no dice. how does one update from iwork /'09???

    With all due respect ... I do not see how one can change the Subtemplate value from Yes to No. When I query the offending Template, the Subtemplate column is not displayed in bold, indicating to me that it can not be updated. Clicking on Edit Configuration, doe not provide an ability to change the value either.
    As best I can determine, one needs to 1) query up the template
    2) download the rtf file(s)
    3) end date the template
    4) create a new template and then set the Subtemplate value to No.
    And the same steps appear to be required in order to add or update a template Description.
    Which raises the question, Why can this not be done by editing the configuration?

Maybe you are looking for