Package javax.security.auth.message.callback

Examples of javax.security.auth.message.callback.PrivateKeyCallback$Request


} xXFixesCreateRegionFromWindowReq;
*/

  public int X11FixesCreateRegionFromWindow (Window win,byte kind) {
    int region = display.allocate_id(this);
    Request request = new Request (display, major_opcode, 7,4);
    request.write4 (region);
    request.write4 (win.id);
    request.write1 (kind);   
   
    display.send_request (request);
    return region;
  }
View Full Code Here


} xXFixesDestroyRegionReq;

#define sz_xXFixesDestroyRegionReq  8
*/
  public void X11FixesDestroyRegion (int Region) {   
    Request request = new Request (display, major_opcode, 10,2);
    request.write4 (Region);
   
    display.send_request (request);   
  }
View Full Code Here

} xXFixesSetRegionReq;
#define sz_xXFixesSetRegionReq    8
*/

public void X11FixesSetRegion (int Region, Rectangle[] rect, int nrrect) {   
    Request request = new Request (display, major_opcode, 11,2 + (nrrect<<2));
    request.write4 (Region);
    if(rect != null)
    {
        for(int i=0; i < rect.length; i++)
        {
           request.write2 (rect[i].x);
           request.write2 (rect[i].y);
           request.write2 (rect[i].width);
           request.write2 (rect[i].height);
        }
    }   
   
    display.send_request (request);   
  }
View Full Code Here

#define sz_xXFixesCopyRegionReq    12
*/

  public void X11FixesCopyRegion (int dest, int src) {   
    Request request = new Request (display, major_opcode, 12,3);
    request.write4 (src);
    request.write4 (dest);
   
    display.send_request (request);   
  }
View Full Code Here

#define sz_xXFixesCombineRegionReq  16
*/
 
 
  public void X11FixesUnionRegion (int dest, int src1, int src2) {   
    Request request = new Request (display, major_opcode, 13,4);
    request.write4 (src1);
    request.write4 (src2);
    request.write4 (dest);
   
    display.send_request (request);   
  }
View Full Code Here

   
    display.send_request (request);   
  }
 
  public void X11FixesSubtractRegion (int dest, int src1, int src2) {   
    Request request = new Request (display, major_opcode, 14,4);
    request.write4 (src1);
    request.write4 (src2);
    request.write4 (dest);
   
    display.send_request (request);   
  }
View Full Code Here

   
    display.send_request (request);   
  }
 
  public void X11FixesIntersectRegion (int dest, int src1, int src2) {   
    Request request = new Request (display, major_opcode, 15,4);
    request.write4 (src1);
    request.write4 (src2);
    request.write4 (dest);
   
    display.send_request (request);   
  }
View Full Code Here

              }
           }

           PrivateKeyCallback.Request request = new PrivateKeyCallback.SubjectKeyIDRequest(
                                                                    keyIdentifier);
           PrivateKeyCallback pkCallback = new PrivateKeyCallback(request);
           Callback[] callbacks = new Callback[] { pkCallback };
           _handler.handle(callbacks);

           return pkCallback.getKey();
        } catch (Exception e) {
            throw new XWSSecurityException(e);
        }
    }
View Full Code Here

               }
           }

           PrivateKeyCallback.Request request = new PrivateKeyCallback.IssuerSerialNumRequest(
                                                       cert.getIssuerX500Principal(),                                                                   cert.getSerialNumber());    
           PrivateKeyCallback pkCallback = new PrivateKeyCallback(request);
           Callback[] callbacks = new Callback[] { pkCallback };
           _handler.handle(callbacks);

           return pkCallback.getKey();
        } catch (Exception e) {
            throw new XWSSecurityException(e);
        }
     }
View Full Code Here

              }
           }

           PrivateKeyCallback.Request request = new PrivateKeyCallback.IssuerSerialNumRequest(
                                                       new X500Principal(issuerName),                                                                   serialNumber);    
           PrivateKeyCallback pkCallback = new PrivateKeyCallback(request);
           Callback[] callbacks = new Callback[] { pkCallback };
           _handler.handle(callbacks);

           return pkCallback.getKey();
        } catch (Exception e) {
            throw new XWSSecurityException(e);
        }
    }
View Full Code Here

TOP

Related Classes of javax.security.auth.message.callback.PrivateKeyCallback$Request

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.