How to get Public Key Remainder?

Hi Friends..
Sorry, i have a little doubt regarding the Public Key Remainder..
What is Public Key Remainder used for?.. is it a part of Public Key?.. How to get it from Public Key, especially in Java?
As far as i know that the Public Key is constructed with Modulus and Exponent, and with this we can Encrypt and Verify data was signed by Private Key..
In Java, we can expose Public Key's modulus and public exponent using RSAPublicKey, there's no method to expose Public Key's Remainder..
Please help me regarding this..
Thanks

Leonardo Carreira wrote:
Hi Shane,
Thanks for your reply.. :)
safarmer wrote:
In that case the exponent and remainder are you public key (exponent and modulus) and the certificate is defined in the definitions section of Book 3. It is a secure way of verifying the public key and it's owner through a trusted certification authority.
EMV Book 3 tends to use Remainder and Modulus interchangeably.You mean, the Issuer (in this case one of E,M, and V) should provide 2 certificates for 1 card?..
This is implemented on SDA or DDA?..
Sorry, i'm still have no idea..
The Remainder and Modulus should be used interchangeably?..
How the Host and Card can decides in each transaction whether it will use Remainder or Modulus?..I mean that the terminology is used interchangeably. They refer to the same thing as far as the actual key is concerned.
Cheers,
Shane

Similar Messages

  • How to get the Key value in the value help?

    Hi All,
            I am using dropdown by key to display the values from the RFC. I am able to get the text by,
    ISimpleValueSet div = wdThis.wdGetContext().getContext().getModifiableTypeOf ("Header.VH_BUnit").getSVServices().getModifiableSimpleValueSet();
    return div.getText(wdContext.currentHeaderElement().getVH_BUnit());
    Please say how to get the key ?
    Thanks & Regards,
        Mugundhan

    Hi,
        Thanks for ur reply. wdContext.currentHeaderElement().getVH_BUnit() is returning the value in the dropdown only.
    Consider this line..
    return div.getText(wdContext.currentHeaderElement().getVH_BUnit() );
    More simillarly return div.gettKey(................); is there. What value should be given inside. if i gave wdContext.currentHeaderElement().getVH_BUnit() means, it sowing "Cannot convert from object to String " error.
    So i created an object like this,
    Object attributevalue = wdContext.currentHeaderElement().getAttributeValue(IPublicReportrtComp.IHeaderElement.VH__B_UNIT);
    But this too not accepting..
    Thanks & Regards,
       Mugundhan

  • How to get the "Key" for Dimension in SSAS.

    Hi
    How to get the "Key" for Dimension in SSAS.
    (Below value is the PPSParameters table XML column value in PPSDatabase in SharePoint.
    Below three key values are belongs to "Dimension". I have tried to find the key but I could net get it.)
    <NewDataSet>
    <UserValues><Key>16A201A9E75128559F947D58E6D187A9</Key></UserValues>
    <UserValues><Key>7FBEA449A6ED5606973306445839619E</Key></UserValues>
    <UserValues><Key>A8F75F9720817BCD2E1DFC1C1CF1E678</Key></UserValues>
    </NewDataSet>
    Thanks & Regards
    Poomani Sankaran

    To Be Honest there is not one straight Cmdlet that atleast I have come across 
    The best way would if you have Lync monitoring server 
    Using the Lync Server 2013 Monitoring Server
    If you have the Monitoring Server role configured in your environment, and for Lync Server 2013 everyone should!, you can use information contained in the LcsCDR database to pull back the last time a user signed in.  You can run the following query* to
    pull back the user's SIP URI and their last login time:
    USE LcsCDR
    SELECT dbo.Users.UserUri, dbo.UserStatistics.LastLogInTime
    FROM dbo.UserStatistics
    JOIN dbo.Users ON dbo.Users.UserId = dbo.UserStatistics.UserId
    ORDER BY UserUri
    Which produces the following output:
    The advantage to using the Monitoring Server to obtain this data is that unlike the information contained in the rtcdyn database, the information from the LcsCDR data will persist even when the user isn't signed into Lync.
    To get approx count of users enable for Lync Server in your organisation 
    Get-CsUser -Filter {Enabled -eq $true} | MeasurE
    Please not the above command let will give you an approx number not exact 
    From the Monitoring report yet the SIP account that signed in and then from count find out how many user havent signed in this is manual task 
    Hope this is helpful 
    Please remember, if you see a post that helped you please click ;Vote As Helpful" and if it answered your question please click "Mark As Answer" Regards Edwin Anthony Joseph

  • I use iPhoto and want to know how to get the 'key photo' i select on my MacBook Pro to be the one that gets used on my iPhone when i sync them. Any ideas? also, i want the events to appear in the order i choose on my MacBook too

    I use iPhoto and want to know how to get the 'key photo' i select on my McBook Pro to be the same one that gets used on my iPhone 5s when i sync. i also want the events to appear on the iPhone in the same order i have them on my macbook. any ideas there too?

    Killerfinch wrote:
    My new yahoo account nestles comfortably in iCloud on the mine iPad.
    No, your Yahoo account is not in iCloud (which only handles iCloud mail), it is in Yahoo, and the Yahoo mail account is on your iPad.
    But the MacBook Pro will have none of it! I write this question now as I fear that I will be totally demented very soon and unable to formulate my thoughts clearly!
    Get the correct settings for your account from Yahoo and set it up manually.
    By the way, I also find the "password" issue problematical. It seems Apple want my Apple password rather than my eMail password. All very confusing.
    That would depend on what you are trying to do.

  • How to get Multiple Key Combinations

    Hi,
    I am trying to get the event for multiple key combinations, ie some thing like "*Ctrl + I + M*" or "*Alt + A + S + D*".
    For two key combinations ( like Ctrl+I or Ctrl+M) i am able to get, but for more than two keys combinations, can someone give an idea how to get it.
    I tried with both KeyCodeCombination and KeyCharacterCombination.
    Below is a quick example to check for the key combination demo.
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.input.KeyCharacterCombination;
    import javafx.scene.input.KeyCode;
    import javafx.scene.input.KeyCodeCombination;
    import javafx.scene.input.KeyCombination;
    import javafx.scene.input.KeyEvent;
    import javafx.scene.layout.StackPane;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    public class KeyCombinationDemo extends Application {
         Stage stage;
         Scene scene;
         StackPane root;
         public static void main(String[] args) {
              Application.launch(args);
         @Override
         public void start(Stage stage) throws Exception {
              this.stage = stage;
              root = new StackPane();
              root.getChildren().add(new Label("Enter any Key"));
              this.scene = new Scene(root, Color.LINEN);
              stage.setTitle(this.getClass().getSimpleName());
              stage.setWidth(600);
             stage.setHeight(600);
             stage.setScene(this.scene);
             stage.show();
              final KeyCombination keyComb1=new KeyCodeCombination(KeyCode.I,KeyCombination.CONTROL_DOWN);
              final KeyCharacterCombination keyComb2 = new KeyCharacterCombination("M",KeyCombination.CONTROL_DOWN);
              this.scene.addEventHandler(KeyEvent.KEY_RELEASED, new EventHandler<KeyEvent>() {
                   @Override
                   public void handle(KeyEvent event) {
                        if(keyComb1.match(event)){
                             System.out.println("Ctrl+I pressed");
                        }else if(keyComb2.match(event)){
                             System.out.println("Ctrl+M pressed");
    }Thanks in Advance.
    Regards,
    Sai Pradeep Dandem.

    Hi John,
    Thanks for the prompt response.
    I tried the way you suggested and it worked well !! Thanks :)
    But, still i am expecting a direct way to handle this. :p
    Anyway here is code which i modified accordingly
    final String keyCombination1 = "_ALT_E_O";
    final String keyCombination2 = "_ALT_E_P";
    final String keyCombination3 = "_CONTROL_H";
    final StringBuilder key = new StringBuilder();
    this.scene.addEventHandler(KeyEvent.KEY_PRESSED, new EventHandler<KeyEvent>() {
         @Override
         public void handle(KeyEvent event) {
              String codeStr = event.getCode().toString();
              if(!key.toString().endsWith("_"+codeStr)){
                   key.append("_"+codeStr);
    this.scene.addEventHandler(KeyEvent.KEY_RELEASED, new EventHandler<KeyEvent>() {
         @Override
         public void handle(KeyEvent event) {
              if(key.length()>0){
                   if(key.toString().equals(keyCombination1)){
                        System.out.println("Key Combination 1 pressed");
                   }else if(key.toString().equals(keyCombination2)){
                        System.out.println("Key Combination 2 pressed");
                   }else if(key.toString().equals(keyCombination3)){
                        System.out.println("Key Combination 3 pressed");
                   key.setLength(0);
    });Thanks & Regards,
    Sai Pradeep Dandem

  • How to obtain public key from a .crt file

    Hi
    I am new to cryptography Please correct me if my understanding regarding the digital signature is correct and i need help to get the public key.
    I have a x.crt file which contains following fields
    1) x
    2)y
    3) Certificate
    this certificate contains following fields
    certificate version
    owner id
    name
    public key
    signature (which is obtained by signing from start of x.crt till public key with private key)
    now i need to verify whether the signature for that i need to get the public key & signature from this .crt file. Is it how i need to verify the certificate ?? please help me as I am a newbie in cryptography

    Hi all
    Thanks for the reply
    So to get the public key now i used the following code
    byte[] dataPub = new byte[256]; // size of the public key
    try {
                        byteArrayInputStream.read(dataPub);
                   } catch (IOException e1) {
                        // TODO Auto-generated catch block
                        e1.printStackTrace();
              BigInteger modulus = new BigInteger(dataPub);
         BigInteger exponent = new BigInteger("65537"); // specified in the document
         RSAPublicKeySpec rpks = new RSAPublicKeySpec(modulus, exponent);
         KeyFactory kf = null;
                   try {
                        kf = KeyFactory.getInstance("RSA");
                   } catch (NoSuchAlgorithmException e1) {
                        // TODO Auto-generated catch block
                        e1.printStackTrace();
         try {
                        pk = kf.generatePublic(rpks);
                        System.out.println("Pb Key----------------:"+pk.toString());
                   } catch (InvalidKeySpecException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
    When I convert the pk.toString I am getting a negative modulus value . Can the modulus value be negative ??
    Edited by: 800317 on Oct 8, 2010 5:51 AM

  • OIM 11g R2 - How to get requester key in validator

    Hi All,
    I am writing a small validator code which throws an exception,if the request is trying to submitted by xelsysadm.May I know how I can get the requester details (like key) in the validator code.
    The validator API takes RequestData as a parameter but there is no way to get the requester details from RequesData object.Thanks in advance.

    I got the solution using the below discussion
    How to get Requester Login information into the request dataset validator
    Thanks.

  • How to get the KEY VALUE of sales order

    Hello friends,
                          iam adding a sales order through DI-SERVER to the SAP db.after adding iam getting a key value (i,e Doc no)..i want it to display it in my frontend....can u please tell me how to display the return key value of my sales order
    regards,
    shangai.

    Dear Shangai,
    To retrieve the last Doc/Object added through DI API (DI Server is based on DI API) there is a method called "GetNewObjectCode" which can be used to retrieve the last DocCode which was added into the B1.
    Please try the function for more help please look at the help files RefDI.chm which is installed with the SDK installation for B1.
    Regards
    Arshdeep

  • How to get master key for strong composition detail

    Hi all,
    My Offline Database Diagram that I have drawn with JDeveloper uses the cascading delete option in foreign keys. When the master will be deleted, its details should be deleted as well. This has resulted in strong composition relationships between master and details.
    These relationships are covered by ADF BC Entity Associations and View Links.
    But what strikes me is that both AppModule tester and the JHeadstart first-cut application are not able to insert a new detail? They respond with:
    JBO-25030: Failed to find or invalidate owning entity
    I found an article of Steve Muench discussing this topic with a bare BC4J Java sample. How do I get this in my master/details Entity Impl's context? How can I get the key of the selected master in the create() method of the detail (Steve Muench selects the first row in the table)?
    I can't get rid of the strong association relationship in the Entity Association. It is automatically switched on when I switched it off.
    Anyone to help?
    thanks in advance,
    Martijn Peters

    Hi Markus,
    Thanks for your reply. Your hints describe how to manually set up a master-detail relationship at the View Objects level.
    Does this also work for master-detail entity objects that have a strong composition through CASCADE DELETE on the foreign keys in the database?
    What surprises me is that the BC4J wizard uses different approaches for creating a master with details with or without CASCADE DELETE.
    I would not expect different behavior for the create() operation in BC4J. I would only expect different behavior for remove() operations.
    Moreover it is strange that the generated View Objects can not be altered and that we depend on a workaround you described.
    Is their no risk for BC4J corruption when the master is deleted with the BC4J tester and that the database CASCADE deletes the details?
    JDeveloper 10.1.2 provides a pretty tool for designing and maintaining a database schema though an Offline Database Diagram.
    It shows the CASCADE DELETE option on foreign keys as a strong composition in an object oriented fashion.
    The ADF BC wizard is very powerful in making an object oriented abstraction of the database schema.
    However it seems to me that ADF BC does not seamlessly fit regarding compositions.
    Switching on CASCADE DELETE in the database causes master-details pages in JHeadstart to disfunction.
    Need this be improved in BC4J or am I wrong in the implied concepts?
    What Java code can I add in the create() methods of my Entity Object subclasses to get the same behavior of regular master-detail objects creation?
    Martijn Peters

  • How to get autogenerated key - special case

    Hi there, here's a really tricky one;
    I have a query as follows below:
    So I insert a product if I cannot find the product, otherwise i do not insert the product. But how can get the autogenerated productConfigId key ?? I know there's a way to get the autogenerated key, but in this case sometimes the key already existed in this database and I do not generate it!
    Is there a way to get the key from the select-subquery OR the autogenerated one, depending on whether it existed or not???
    Very thankful for any answer to this,
    Best regards, AC
    IF NOT EXISTS
    (SELECT productConfigId FROM product WHERE productId = ? AND partQty = ?)
    INSERT INTO product(productId, partQty) VALUES(?, ?)

    Which db are you using?
    Commonly stored procedures are used to return the autogen.id
    - Mark

  • How to get object key before load data into form?

    I need to get object key (e.g. ItemCode in Item Master Data From ,docEntry in A/R Invoice From) to calculate and do something  before data is loaded into this form .
    I try to use SAPbouiCOM.BusinessObjectInfo.objectKey as in this code.
    Private Sub oApp_FormDataEvent(ByRef pVal As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles oApp.FormDataEvent
           If pVal.FormTypeEx = "672" And pVal.BeforeAction = True And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_LOAD Then
                   oApp.MessageBox(pVal.ObjectKey)
           End If
    End Sub
    But this fields doesn't valid under this condition (form DI help file).
    - The property returns an empty value in the before notification of the Load action (et_FORM_DATA_LOAD) triggered by a Find operation.
    How can I get this value(key)?

    Janos
    I can't do a calculation after data is loaded because what I'm going to do is that if the opening entry match my condition , the system will not let that user see that entry (bubbleEvent = False).
    I think when formDataEvent is triggered B1 know which entry are going to load because before this event is triggered we did one of following ways
    1. choose from "choose from list windows"
    2. enter docEntry or itemCode or cardCode  and then press Find Button
    3. press "next/previous record button"
    4. press linked button (orange arrow)
    Choice 3 and 4 can be done by retrieve data from BusinessObjectInfo.objectKey (I've tested and it return entry key that is going to open correctly).
    but 1 and 2 can't (it return empty as I mention before).
    thanks
    Edited by: daron tancharoen on Aug 5, 2008 2:34 PM

  • How to get group key from a task assignment adapter

    Hi All,
    Senario:
    I have two groups, say G1 and G2.
    One Access policy, say P. (This access policy is associated with AD resource.)
    AD Resource Object R.
    I have defined an Approval process for Resource R.
    Access policy P is assigned to both Group G1 and G2.
    This Access Policy P is linked to Resource R
    According to above configuration,
    When I add User U1 to Group G1 ( or G2 ) through "Group Membership", Access Policy P is executed and the approval process which associate with the Resource R is executed.
    In my Approval process, I have a task assignment adapter.
    Within my adapter, I want to get the group key, which cause to fires this approval process. ( It may be G1's key or G2's key. )
    Could some one help me for this ?
    Regards,
    Thirlk
    Edited by: thirlk on Jun 28, 2009 10:55 PM

    See this thread
    Working on the same requirement.
    How to get the administrator group of a group from a approval process
    If you have any further question let me know.

  • Satellite L500 - How to get FN keys working on Windows 7 64bit?

    Hi
    I needed to reinstall Windows 7 on a Satellite L500 but I can't get the FN keys to work. Would anyone here be able to give any ideas on how to get this to work?
    cas

    Hello
    You need Toshiba Value Added Package and Flash Cards Support Utility. Both you can download here:
    http://eu.computers.toshiba-europe.com > Support & Downloads > Download Drivers
    Use also the forum search, this question was asked 100 times before.

  • How to get the Key mode

    Hello
    Let me ask a question about key mode.
    I'm trying to catch the timing when both Shift-Key and Esc-Key are pressed.
    Using the Edge Animate's document.keydown  events , I can get the chance when the Shift-Key is pressed.
    At the same time I need to know the Esc-Key's mode , pressed? or released?.
    Does anyone know how to get the Ket mode?
    regards

    Thank you very much heathrowe.
    hmm, It seems to be the same thing.
    If users release [Esc-key] first and [Shift-key] next, this script works.
    But it doesn't work in the contrary case.
    To cover both cases, the system have to grasp the STATE of the keys, not EVENT.
    I've made an example below .....
    This script can hold the state of the keys.
    [Note 1] This time I used [Esc-Key] and [z-key] ,  because the task manager opens
                 when [Shift-Key] and [Esc-key] is pressed in case of Chrome.
    [Note 2] I used text-box named "Result" as an output tool instead of the alert tool,
                 because the variables (KeyFlagShift / KeyFlagZ) freeze using an alert tool
                for some unknown reason.
    // ******  compositionReady  ******
    sym.setVariable("KeyFlagShift" , false);
    sym.setVariable("KeyFlagZ" , false);
    // ******  KeyUp  ******
    switch(e.which){
              case 16:
                                  sym.getComposition().getStage().setVariable("KeyFlagShift" , false);
                                  break;
              case 90:
                                  sym.getComposition().getStage().setVariable("KeyFlagZ" , false);
                                  break;
    // ******  KeyDown  ******
    switch(e.which){
              case 16:
                                  sym.getComposition().getStage().setVariable("KeyFlagShift" , true);
                                  break;
              case 90:
                                  sym.getComposition().getStage().setVariable("KeyFlagZ" , true);
                                  break;
    var KeyS = sym.getComposition().getStage().getVariable("KeyFlagShift");
    var KeyZ = sym.getComposition().getStage().getVariable("KeyFlagZ");
    if(KeyS == true && KeyZ == true){
              sym.getComposition().getStage().$("Result").text(" Shift + Esc was pressed");
    }else{
              sym.getComposition().getStage().$("Result").text(" -------");

  • How I get a key event ???

    I have a AWT application. I need to request a AWTEvent from keyborad. How I request a F12 key ??? Thanks for any help...

    You can add a KeyListener object to any class that inherits from Component (which pretty much means any AWT object). So, just create a new KeyListener Object, and add it to your main application panel (assuming this is something you want to catch on your whole app). Inside your KeyListener, override the keyPressed method, which takes as an argument a KeyEvent object. Inside the keyPressed function, you can see if the F12 key was pressed by doing the following :
    public void keyPressed(KeyEvent theEvent)
    if(theEvent.getKeyCode() == KeyEvent.VK_F12)
    //your code here
    This should work. Any other questions (like how to use other keys), consult the API for java.awt.event.
    Ed

Maybe you are looking for

  • Windows 8.1 Hangs, Crashes, Office 2013 Excel Crash

    I'm an IT professional (over 20 years). I feel qualified to make these statements in this post.  I also know that the download sites for Windows 8.1 never give any warning as to what works, what doesn't, driver updates needed etc.  In fact it's being

  • Accessing ID Value Mapping table in XSLT

    Hi Experts, In the XSLT mapping,I would like to access my value mapping table which i defined in ID .The purpose of ID value mapping here is, the table entries will be changing in future and i don want to use fix values, XML table  which is defined i

  • Transfer music and videos to macbook

    I would like to copy my itunes music and music videos to my wife's macbook pro so we have the same on both computers so she can sync all to her ipod touch. The library is kept on its own hard drive inside my mac pro. How can i do this?

  • New MacPro Connection to 3rd Party Displays

    When connecting a new MP to a Dell monitor that supports HDMI, is there any reason you wouldn't simply use HDMI to HDMI? I see lot's of dicussions around web for mDP? Thx Paul

  • Where can I find cheap iPad Mini cases?

    I recently got an iPad Mini and a case from Nordstorm. It was the only iPad Mini case that didn't cost over $50. Unfortunately, the bargain wasn't a bargain for long. Along the sides of the case, the leather started to peel off and I am unable to rea