Examples of FailInfo


Examples of org.ejbca.core.protocol.FailInfo

              String msg = intres.getLocalizedMessage("signsession.nopasswordinrequest");
                logSession.log(admin, ca.getCAId(), LogConstants.MODULE_CA, new java.util.Date(), req.getUsername(), null, LogConstants.EVENT_ERROR_CREATECERTIFICATE, msg);
                throw new SignRequestException(msg);
            } else {       
              ResponseStatus status = ResponseStatus.SUCCESS;
              FailInfo failInfo = null;
              String failText = null;
                Certificate cert = null;
              try {
            // If we haven't done so yet, authenticate user. (Only if we store UserData for this CA.)
                if (ca.isUseUserStorage()) {
View Full Code Here

Examples of org.ejbca.core.protocol.FailInfo

    String cmpRaAuthSecret = null;
    String keyId = getSenderKeyId(msg.getHeader());
    if (keyId != null) {
      try {
        ResponseStatus status = ResponseStatus.FAILURE;
        FailInfo failInfo = FailInfo.BAD_MESSAGE_CHECK;
        String failText = null;
        CmpPbeVerifyer verifyer = new CmpPbeVerifyer(msg.getMessage());       
        owfAlg = verifyer.getOwfOid();
        macAlg = verifyer.getMacOid();
        iterationCount = verifyer.getIterationCount();
View Full Code Here

Examples of org.jscep.transaction.FailInfo

      PkiStatus pkiStatus = toPkiStatus(attrTable.get(toOid(PKI_STATUS)));
      Nonce recipientNonce = toNonce(attrTable
        .get(toOid(RECIPIENT_NONCE)));

      if (pkiStatus == PkiStatus.FAILURE) {
    FailInfo failInfo = toFailInfo(attrTable.get(toOid(FAIL_INFO)));
    LOGGER.debug("Finished decoding pkiMessage");
    return new CertRep(transId, senderNonce, recipientNonce,
      failInfo);
      } else if (pkiStatus == PkiStatus.PENDING) {
    LOGGER.debug("Finished decoding pkiMessage");
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.