adding SetOwnKey
authorVolker Birk <vb@pep.foundation>
Sat, 24 Feb 2018 20:46:07 +0100
changeset 27508f4040eca91
parent 264 aa6bd84bd6c3
child 276 35af9f35a9af
adding SetOwnKey
CpEpEngine.cpp
CpEpEngine.h
pEpCOMServerAdapter.idl
     1.1 --- a/CpEpEngine.cpp	Fri Dec 01 19:38:09 2017 +0100
     1.2 +++ b/CpEpEngine.cpp	Sat Feb 24 20:46:07 2018 +0100
     1.3 @@ -618,6 +618,12 @@
     1.4  	return S_OK;
     1.5  }
     1.6  
     1.7 +STDMETHODIMP CpEpEngine::SetOwnKey(pEpIdentity * identity, BSTR fpr, struct pEpIdentity *result)
     1.8 +{
     1.9 +
    1.10 +	return S_OK;
    1.11 +}
    1.12 +
    1.13  STDMETHODIMP CpEpEngine::KeyResetTrust(struct pEpIdentity *ident)
    1.14  {
    1.15      ::pEp_identity *_ident;
     2.1 --- a/CpEpEngine.h	Fri Dec 01 19:38:09 2017 +0100
     2.2 +++ b/CpEpEngine.h	Sat Feb 24 20:46:07 2018 +0100
     2.3 @@ -238,6 +238,7 @@
     2.4      STDMETHOD(OpenPGPListKeyinfo)(BSTR search_pattern, LPSAFEARRAY* keyinfo_list);
     2.5  
     2.6  	STDMETHOD(UndoLastMistrust)();
     2.7 +	STDMETHOD(SetOwnKey)(pEpIdentity * ident, BSTR fpr, struct pEpIdentity *result);
     2.8  
     2.9  protected:
    2.10  	HRESULT Fire_MessageToSend(
     3.1 --- a/pEpCOMServerAdapter.idl	Fri Dec 01 19:38:09 2017 +0100
     3.2 +++ b/pEpCOMServerAdapter.idl	Sat Feb 24 20:46:07 2018 +0100
     3.3 @@ -328,6 +328,12 @@
     3.4      );
     3.5  
     3.6  	HRESULT UndoLastMistrust();
     3.7 +
     3.8 +	HRESULT SetOwnKey(
     3.9 +		[in] struct pEpIdentity * ident,
    3.10 +		[in] BSTR fpr,
    3.11 +		[out, retval] struct pEpIdentity * result
    3.12 +	);
    3.13  };
    3.14  
    3.15  [