use of gov.niarl.his.webservices.hisPrivacyCAWebServices2.clientWsImport.ByteArray in project OpenAttestation by OpenAttestation.
the class HisPrivacyCAWebServices2ClientImpl method requestGetEC.
public byte[] requestGetEC(byte[] encryptedEkMod, byte[] encryptedSessionKey, int ecValidDays) {
ByteArray eKModulusByteArray = new ByteArray();
eKModulusByteArray.setBytes(encryptedEkMod);
ByteArray sessionKeyArray = new ByteArray();
sessionKeyArray.setBytes(encryptedSessionKey);
return hisPrivacyCAWebService2.requestGetEC(eKModulusByteArray, sessionKeyArray, ecValidDays).getBytes();
}
use of gov.niarl.his.webservices.hisPrivacyCAWebServices2.clientWsImport.ByteArray in project OpenAttestation by OpenAttestation.
the class HisPrivacyCAWebServices2ClientImpl method identityRequestGetChallenge.
public byte[] identityRequestGetChallenge(byte[] identityRequest, byte[] endorsementCertificate) {
ByteArray identityRequestByteArray = new ByteArray();
identityRequestByteArray.setBytes(identityRequest);
ByteArray endorsementCertificateByteArray = new ByteArray();
endorsementCertificateByteArray.setBytes(endorsementCertificate);
return hisPrivacyCAWebService2.identityRequestGetChallenge(identityRequestByteArray, endorsementCertificateByteArray).getBytes();
}
use of gov.niarl.his.webservices.hisPrivacyCAWebServices2.clientWsImport.ByteArray in project OpenAttestation by OpenAttestation.
the class HisPrivacyCAWebServices2ClientImpl method identityRequestSubmitResponse.
public byte[] identityRequestSubmitResponse(byte[] identityRequestResponseToChallenge) {
ByteArray identityRequestResponseToChallengeByteArray = new ByteArray();
identityRequestResponseToChallengeByteArray.setBytes(identityRequestResponseToChallenge);
return hisPrivacyCAWebService2.identityRequestSubmitResponse(identityRequestResponseToChallengeByteArray).getBytes();
}
Aggregations