Examples of requireKeyInfo()


Examples of org.ejbca.core.protocol.scep.ScepRequestMessage.requireKeyInfo()

                  }
                } else {        
                  if(reqmsg.getMessageType() == ScepRequestMessage.SCEP_TYPE_PKCSREQ) { 
                      log.debug("Received a PKCSReq message from host: "+remoteAddr);
                      // Decrypt the Scep message and extract the pkcs10 request
                        if (reqmsg.requireKeyInfo()) {
                            // scep encrypts message with the RAs certificate
                            reqmsg.setKeyInfo(racert, rapriv, cryptProvider);
                        }
                        // Verify the request
                        if (reqmsg.verify() == false) {
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.