Skip to end of metadata
Go to start of metadata


If the Verification mode is set to Client Verification, any sender email address can be used to perform a transfer operation, without having to perform a verification process, as described under Sender Verification, for each individual email address. With Client Verification mode, the verification is only performed once for the Client instance as a whole, and then the Client instance can use any sender email address to perform its operations.

Please Note

Using Client Verification increases the risk of abuse, since anyone with access to the verified Client instance can perform Cryptshare transfers using any sender email address. It is therefore recommended that Client Verification mode only be used if Sender Verification mode does not meet your requirements.


To verify your Client instance, first make sure that the Verification mode configured on the Cryptshare Server is set to Client Verification. You can then call the requestVerification() method on the Client instance, which will return a new unique Client ID. You then have to register this Client ID on the Cryptshare Server administration page:

Enter a description for your Client instance and the new Client ID, then click the "+" button to add the new client verification entry. Don't forget to save the changes. You can now use the verified Client instance with any sender email address, without the need of any further verification.


Example: Performing a Client Verification
// First create the Client instance
// Create a WebServiceUri for your Cryptshare Server
WebServiceUri serviceUri = new WebServiceUri("");

// Create a CryptshareConnection instance for your WebServiceUri
CryptshareConnection connection = new CryptshareConnection(serviceUri);

// Create the Client instance with the sender's email address,
// the CryptshareConnection, and the path to the verification store.
// Since we are only doing a client verification in this example, it
// does not really matter what sender email address you enter to create
// the client, as it will not be needed for any transfer operations.
Client client = new Client("", connection, "C:\temp");

// now you can call the checkVerification() method, to first check the
// current verification status
VerificationStatus result = client.checkVerification();

if (!result.isSenderVerification()) {
	// Verification Mode is indeed set to Client Verification
	if (!result.isVerified()) {
		// Client is NOT verified, so request a new verification
		String clientID = client.requestVerification();

		// When the requestVerification() method is called in Client Verification
		// mode, the client automatically creates a new Client ID and stores it
		// in its verification store. The generated Client ID will have also been
		// logged to the log file. This clientID has to then be registered on the
		// Cryptshare Server administration page.


  • No labels