kz.gamma.cmp
Class BillingResponse

java.lang.Object
  extended by kz.gamma.cmp.CmpData
      extended by kz.gamma.cmp.CmpResponse
          extended by kz.gamma.cmp.BillingResponse

public class BillingResponse
extends CmpResponse

Ответ на запрос получения биллинга

Author:
Renat Karimov

Field Summary
 
Fields inherited from class kz.gamma.cmp.CmpResponse
errorCmpFail, errorCmpStatus, response, responseType, responseTypeCode, signerCertificate, usefulData
 
Fields inherited from class kz.gamma.cmp.CmpData
acquireContextFlag, caCertificate, fileHelper, handleKey1, handleKey2, handleProv, profile, profileCreator, profileInfo, profileKeySpec, transactionId
 
Constructor Summary
BillingResponse()
           
 
Method Summary
protected  boolean verify(java.util.Map params)
          Проверка ответа Internet X.509 Public Key Infrastructure Certificate Management Protocol (CMP) http://www.ietf.org/rfc/rfc4210.txt
 
Methods inherited from class kz.gamma.cmp.CmpResponse
getErrorCmpFail, getErrorCmpStatus, getResponse, getResponseType, getResponseTypeCode, getSignerCertificate, getUsefulData, initFields, verifyResponse
 
Methods inherited from class kz.gamma.cmp.CmpData
getAcquireContextFlag, getCaCertificate, getHandleKey1, getHandleKey2, getHandleProv, getProfile, getProfileKeySpec, getTransactionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BillingResponse

public BillingResponse()
Method Detail

verify

protected boolean verify(java.util.Map params)
Проверка ответа Internet X.509 Public Key Infrastructure Certificate Management Protocol (CMP) http://www.ietf.org/rfc/rfc4210.txt

Specified by:
verify in class CmpResponse
Parameters:
params - Параметры для проверки ответа. Ключи:
  • profile (Профайл или URL на ключ. Тип String. Обязательный);
  • response (Ответ сервера. Тип byte[]. Обязательный);
  • acquireContextFlag (Флаг загрузки ключа. Тип Integer. Обязательный. Необходимо передавать LibraryWrapper.CRYPT_SILENT).
Returns:
true, если проверка прошла успешно


Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.