kz.gamma.cmp
Class X509ObjectResponse

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

public class X509ObjectResponse
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
X509ObjectResponse()
           
 
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

X509ObjectResponse

public X509ObjectResponse()
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[]. Обязательный);
  • objectTypeOid (OID объекта, который необходимо получить. Тип String. Обязательный. Возможные варианты: LibraryWrapper.CMP_GENERAL_CRT_EXCH, LibraryWrapper.CMP_GENERAL_CRL);
  • acquireContextFlag (Флаг загрузки ключа. Тип int. Обязательный. Необходимо передавать LibraryWrapper.CRYPT_SILENT).
Returns:
true, если проверка прошла успешно


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