kz.gamma.cmp
Class X509ObjectRequest

java.lang.Object
  extended by kz.gamma.cmp.CmpData
      extended by kz.gamma.cmp.CmpRequest
          extended by kz.gamma.cmp.X509ObjectRequest

public class X509ObjectRequest
extends CmpRequest

Запрос получения сертификата сервера, СОС

Author:
Renat Karimov

Field Summary
 
Fields inherited from class kz.gamma.cmp.CmpRequest
request, serverCertificate
 
Fields inherited from class kz.gamma.cmp.CmpData
acquireContextFlag, caCertificate, fileHelper, handleKey1, handleKey2, handleProv, profile, profileCreator, profileInfo, profileKeySpec, transactionId
 
Constructor Summary
X509ObjectRequest()
           
 
Method Summary
protected  byte[] create(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.CmpRequest
createRequest, getRequest, getServerCertificate, initFields
 
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

X509ObjectRequest

public X509ObjectRequest()
Method Detail

create

protected byte[] create(java.util.Map params)
Формирование запроса Internet X.509 Public Key Infrastructure Certificate Management Protocol (CMP) http://www.ietf.org/rfc/rfc4210.txt

Specified by:
create in class CmpRequest
Parameters:
params - Параметры для запроса. Ключи:
  • profile (Профайл или URL на ключ. Тип String. Обязательный);
  • serverCertificate (Сертификат сервера. Тип byte[]. Опциональный);
  • objectTypeOid (OID объекта, который необходимо получить. Тип String. Опциональный. Возможные варианты: LibraryWrapper.CMP_GENERAL_CRT_EXCH, LibraryWrapper.CMP_GENERAL_CRL. Если не указан, то используется LibraryWrapper.CMP_GENERAL_CRT_EXCH);
  • acquireContextFlag (Флаг загрузки ключа. Тип Integer. Обязательный. Необходимо передавать LibraryWrapper.CRYPT_SILENT).
Returns:
Запрос


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