I'm using Bouncy Castle to TLS connection with sending client certificate to server. But I don't know which interface I should use as TlsCredentials, is this should be: TlsSignerCredentials or TlsAgreementCredentials and how to implement this.
For example what is the correct implementation
byte[] GenerateCertificateSignature(byte[] md5andsha1);
in TlsSignerCredentials and when I should use this instead of TlsAgreementCredentials
Could you give me a sample implementation or give any clue, please ?
Thanks in advance!
Artur