kz.gamma.cmp
Class CmpRequest

java.lang.Object
  extended by kz.gamma.cmp.CmpData
      extended by kz.gamma.cmp.CmpRequest
Direct Known Subclasses:
BillingRequest, CertificateConfirmationRequest, CertificationRequest, DepositionRequest, InitialRegistrationRequest, KeyUpdateRequest, PollingRequest, RevocationRequest, SecretRequest, TransactionListRequest, X509ObjectRequest

public abstract class CmpRequest
extends CmpData

Класс, являющийся потомком для CMP запросов

Author:
Renat Karimov

Field Summary
protected  byte[] request
          Запрос
protected  byte[] serverCertificate
          Сертификат сервера
 
Fields inherited from class kz.gamma.cmp.CmpData
acquireContextFlag, caCertificate, fileHelper, handleKey1, handleKey2, handleProv, profile, profileCreator, profileInfo, profileKeySpec, transactionId
 
Constructor Summary
CmpRequest()
           
 
Method Summary
protected abstract  byte[] create(java.util.Map params)
          Формирование CMP запроса.
 byte[] createRequest(java.util.Map params)
          Формирование CMP запроса Internet X.509 Public Key Infrastructure Certificate Management Protocol (CMP) http://www.ietf.org/rfc/rfc4210.txt
 byte[] getRequest()
          Получение запроса
 byte[] getServerCertificate()
          Получение сертификата
protected  void 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
 

Field Detail

request

protected byte[] request
Запрос


serverCertificate

protected byte[] serverCertificate
Сертификат сервера

Constructor Detail

CmpRequest

public CmpRequest()
Method Detail

getRequest

public byte[] getRequest()
Получение запроса

Returns:
Запрос

getServerCertificate

public byte[] getServerCertificate()
Получение сертификата

Returns:
Сертификат

initFields

protected void initFields()
Инициализация полей

Overrides:
initFields in class CmpData

createRequest

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

Parameters:
params - Параметры для запроса. Ключи: см. метод "protected byte[] create(Map params)" классов-потомков.
Returns:
CMP Запрос

create

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

Parameters:
params - Параметры для запроса. Ключи: см. метод "protected byte[] create(Map params)" классов-потомков.
Returns:
CMP Запрос


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