Package org.ejbca.core.protocol.scep

Examples of org.ejbca.core.protocol.scep.ScepResponseMessage.requireSignKeyInfo()


  }
   
    private ScepResponseMessage createPendingResponseMessage(IRequestMessage req, X509Certificate racert, PrivateKey rakey, String cryptProvider) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchProviderException, IOException, SignRequestException, NotFoundException {
      ScepResponseMessage ret = new ScepResponseMessage();
      // Create the response message and set all required fields
      if (ret.requireSignKeyInfo()) {
        log.debug("Signing message with cert: "+racert.getSubjectDN().getName());
        ret.setSignKeyInfo(racert, rakey, cryptProvider);
      }
      if (req.getSenderNonce() != null) {
        ret.setRecipientNonce(req.getSenderNonce());
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.