Examples of RequestAbstractType


Examples of org.w3._2002._03.xkms_.RequestAbstractType

                               String authenticationPassphrase, PrivateKey pOPPrivateKey, String prototypeKeyBindingId) throws StringprepException{
        DOMSource retval = null;
   
      try{
        if(signCert != null && privateKey != null ){
          RequestAbstractType requestAbstractType = (RequestAbstractType) messageAbstractType.getValue();
          requestAbstractType.getResponseMechanism().add(XKMSConstants.RESPONSMEC_REQUESTSIGNATUREVALUE);
        }
       
        Document doc = dbf.newDocumentBuilder().newDocument();
        marshaller.marshal( messageAbstractType, doc );
       
View Full Code Here

Examples of org.wso2.xkms2.RequestAbstractType

    }

    public ResultType process(XKMSRequestData data) throws AxisFault {

        RequestAbstractType request = data.getRequest();
        this.doc = data.getDocument();

        if (request instanceof RegisterRequest) {
            return handleRegisterRequest((RegisterRequest) request);
View Full Code Here

Examples of org.wso2.xkms2.RequestAbstractType

        XKMSElement xkmsElementObj = buildElementHelper.getXkmsElement();
        ElementBuilder builder = buildElementHelper.getBuilder();
        QName qName = buildElementHelper.getQName();

        RequestAbstractTypeBuilder requestATBuider = (RequestAbstractTypeBuilder) builder;
        RequestAbstractType requestAbstractType = requestATBuider
                .getRequestAbstractType();

        List responseMechanismList = requestAbstractType.getResponseMechanism();

        ResponseMechanism[] responseMechanisms = responseMechanismList != null ? (ResponseMechanism[]) responseMechanismList
                .toArray(new ResponseMechanism[responseMechanismList.size()])
                : null;
        // Get a sepearte Document for response
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.