|
| RemoteCryptoIKSProvider (IslogKeyServer::IKSConfig config) |
|
bool | verify_signature (const SignatureResult &sr, const std::string &pubkey_pem) override |
|
ByteVector | aes_encrypt (const ByteVector &in, const std::string &key_name, const ByteVector &iv) override |
|
ByteVector | aes_decrypt (const ByteVector &in, const std::string &key_name, const ByteVector &iv, SignatureResult *out_signature) override |
|
void | iso_authenticate_step1 (const std::string &key_identity, const ByteVector &random_picc, const MyDivInfo &div_info, bool &out_success, ByteVector &out_random2, ByteVector &out_encrypted_cryptogram, ByteVector &out_auth_context_id) override |
|
void | iso_authenticate_step2 (const std::string &key_identity, const ByteVector &picc_cryptogram, const ByteVector &auth_context_id, const MyDivInfo &div_info, bool &out_success, ByteVector &out_session_key, ByteVector &out_session_key_ref) override |
|
void | aes_authenticate_step1 (const std::string &key_identity, const ByteVector &encrypted_random_picc, const MyDivInfo &div_info, bool &out_success, ByteVector &out_encrypted_cryptogram, ByteVector &out_auth_context_id) override |
|
void | aes_authenticate_step2 (const std::string &key_identity, const ByteVector &picc_cryptogram, const ByteVector &auth_context_id, const MyDivInfo &div_info, bool &out_success, ByteVector &out_session_key, ByteVector &out_session_key_ref) override |
|
void | change_key (const std::string &old_key_identity, const std::string &new_key_identity, bool change_same_key, const std::string &session_key_uuid, const ByteVector &session_key, const MyDivInfo &old_key_div, const MyDivInfo &new_key_div, uint8_t key_no, const ByteVector &iv, ByteVector &out_cryptogram) override |
|
virtual bool | verify_signature (const SignatureResult &sr, const std::string &pubkey_pem)=0 |
|
virtual ByteVector | aes_encrypt (const ByteVector &in, const std::string &key_name, const ByteVector &iv)=0 |
|
virtual ByteVector | aes_decrypt (const ByteVector &in, const std::string &key_name, const ByteVector &iv, SignatureResult *out_signature=nullptr)=0 |
|
virtual void | iso_authenticate_step1 (const std::string &key_identity, const ByteVector &random_picc, const MyDivInfo &div_info, bool &out_success, ByteVector &out_random2, ByteVector &out_encrypted_cryptogram, ByteVector &out_auth_context_id)=0 |
|
virtual void | iso_authenticate_step2 (const std::string &key_identity, const ByteVector &picc_cryptogram, const ByteVector &auth_context_id, const MyDivInfo &div_info, bool &out_success, ByteVector &out_session_key, ByteVector &out_session_key_ref)=0 |
|
virtual void | aes_authenticate_step1 (const std::string &key_identity, const ByteVector &encrypted_random_picc, const MyDivInfo &div_info, bool &out_success, ByteVector &out_encrypted_cryptogram, ByteVector &out_auth_context_id)=0 |
|
virtual void | aes_authenticate_step2 (const std::string &key_identity, const ByteVector &picc_cryptogram, const ByteVector &auth_context_id, const MyDivInfo &div_info, bool &out_success, ByteVector &out_session_key, ByteVector &out_session_key_ref)=0 |
|
virtual void | change_key (const std::string &old_key_identity, const std::string &new_key_identity, bool change_same_key, const std::string &session_key_uuid, const ByteVector &session_key, const MyDivInfo &old_key_div, const MyDivInfo &new_key_div, uint8_t key_no, const ByteVector &iv, ByteVector &out_cryptogram)=0 |
|
Implement the "RemoteCrypto" API by delegating to IKS.