| Modifier and Type | Method and Description |
|---|---|
void |
Client.applyQuickActivationCode(java.lang.String recoveryCode) |
void |
IClient.applyQuickActivationCode(java.lang.String recoveryCode)
Applies a QUICK activation code to activate QUICK access for the user on this client.
|
boolean |
Client.checkCompatibility() |
boolean |
IClient.checkCompatibility()
Performs a compatibility check of this API against the Cryptshare Server.
|
boolean |
Client.checkCompatibility(java.lang.String minimumServerVersion) |
boolean |
IClient.checkCompatibility(java.lang.String minimumServerVersion)
Performs a compatibility check against the Cryptshare Server.
|
PasswordCheckResult |
Client.checkPassword(java.lang.String password) |
PasswordCheckResult |
IClient.checkPassword(java.lang.String password)
Checks the given password against the password policy defined on the server.
|
CheckVerificationResult |
Client.checkVerification() |
CheckVerificationResult |
IClient.checkVerification()
Requests information about the verification configuration on the server and the current verification
state of the user on this client.
|
void |
Client.confirmQuickConnection(java.lang.String metaId,
java.lang.String password) |
void |
IClient.confirmQuickConnection(java.lang.String metaId,
java.lang.String password)
Confirms/activates the QUICK connection that has been offered with a transfer.
|
void |
Client.confirmSenderVerification(java.lang.String verificationCode) |
void |
IClient.confirmSenderVerification(java.lang.String verificationCode)
Completes the sender verification process by confirming it with the the received verification code.
|
void |
Client.enableVerificationForQuick() |
void |
IClient.enableVerificationForQuick()
Enables the verification of the user for QUICK so that it can be used to send and retrieve QUICK transfers.
|
java.lang.String |
Client.generateQuickActivationCode() |
java.lang.String |
IClient.generateQuickActivationCode()
Generates a activation code for client activation.
|
java.lang.String |
IClient.getClientId()
Returns the identifier if the client, which is generated automatically together with the store file.
|
java.lang.String |
ICryptshareHttpClient.getRequest(java.lang.String request)
Performs a GET request to the specified path/query.
|
static ProtectedFileStore |
ProtectedFileStore.open(java.nio.file.Path storePath)
Opens a verification store that loads from and persists to the given store file.
|
static ProtectedFileStore |
ProtectedFileStore.open(java.nio.file.Path storePath,
IProtectionService protectionService)
Opens a verification store that loads from and persists to the given store file.
|
static ProtectedFileStore |
ProtectedFileStore.open(java.nio.file.Path storePath,
ProtectionScope protectionScope)
Opens a verification store that loads from and persists to the given store file.
|
void |
Client.performTransfer(Transfer transfer,
IUploadProgressChangedHandler uploadProgressChangedCallback,
IUploadCompleteHandler uploadCompleteCallback,
IUploadInterruptedHandler uploadInterruptedCallback,
IUploadCancelledHandler uploadCancelledCallback,
int pollingTimer) |
void |
IClient.performTransfer(Transfer transfer,
IUploadProgressChangedHandler uploadProgressChangedCallback,
IUploadCompleteHandler uploadCompleteCallback,
IUploadInterruptedHandler uploadInterruptedCallback,
IUploadCancelledHandler uploadCancelledCallback,
int pollingTimer)
Performs a transfer synchronously in the current thread.
|
void |
Client.performTransfer(Transfer transfer,
IUploadProgressChangedHandler uploadProgressChangedCallback,
IUploadCompleteHandler uploadCompleteCallback,
IUploadInterruptedHandler uploadInterruptedCallback,
IUploadCancelledHandler uploadCancelledCallback,
int pollingTimer,
IUploadFilesFinishedHandler uploadFilesFinishedHandler) |
void |
IClient.performTransfer(Transfer transfer,
IUploadProgressChangedHandler uploadProgressChangedCallback,
IUploadCompleteHandler uploadCompleteCallback,
IUploadInterruptedHandler uploadInterruptedCallback,
IUploadCancelledHandler uploadCancelledCallback,
int pollingTimer,
IUploadFilesFinishedHandler uploadFilesFinishedHandler)
Performs a transfer synchronously in the current thread.
|
void |
ProtectedFileStore.persist()
Saves this store object to the store file.
|
void |
IStore.persist()
Persists this store's content.
|
byte[] |
IProtectionService.protect(byte[] bytesToProtect)
Protects the given content in an appropriate way so that uprotection is only possible with a specific knowledge
or priviledge, depending on the implementation.
|
byte[] |
AesProtectionService.protect(byte[] bytesToProtect) |
byte[] |
DpApiProtectionService.protect(byte[] bytesToProtect)
Protects the given content, using Windows DPAPI.
|
java.util.Map<java.lang.String,java.lang.String> |
Client.requestActiveTransfers() |
java.util.Map<java.lang.String,java.lang.String> |
IClient.requestActiveTransfers()
Requests all active transfers where this client's sender address is a recipient.
|
java.util.Map<java.lang.String,AddOnOptionValue> |
Client.requestAddOnSettings()
Requests the Add-On settings from the server.
|
void |
Client.requestClientVerification() |
void |
IClient.requestClientVerification()
Requests a client verification.
|
java.util.Map<java.util.List<java.lang.String>,java.lang.String> |
Client.requestEmailTemplate(java.lang.String templateName,
java.util.Map<java.util.Set<java.lang.String>,java.util.Set<TemplateReplacement>> replacements,
java.util.Locale locale,
EmailFormat mailFormat) |
java.util.Map<java.util.List<java.lang.String>,java.lang.String> |
IClient.requestEmailTemplate(java.lang.String templateName,
java.util.Map<java.util.Set<java.lang.String>,java.util.Set<TemplateReplacement>> replacements,
java.util.Locale language,
EmailFormat mailFormat)
Requests several resolved template content strings at once.
|
java.lang.String |
Client.requestGeneratedPassword(int length) |
java.lang.String |
IClient.requestGeneratedPassword(int length)
Requests a generated password with the given length from the Cryptshare Server.
|
byte[] |
Client.requestLanguagePackFile(java.lang.String filePath,
java.util.Locale locale) |
byte[] |
IClient.requestLanguagePackFile(java.lang.String path,
java.util.Locale locale)
Downloads a single language pack resource.
|
java.util.List<LanguagePack> |
Client.requestLanguagePacks() |
java.util.List<LanguagePack> |
IClient.requestLanguagePacks()
Requests info about the language packs that are available on the server.
|
LicenseInfo |
Client.requestLicenseInfo() |
LicenseInfo |
IClient.requestLicenseInfo()
Requests the license info for the Cryptshare server and this product.
|
PasswordPolicy |
Client.requestPasswordPolicy() |
PasswordPolicy |
IClient.requestPasswordPolicy()
Requests the password policy from the server.
|
Policy |
Client.requestPolicy(java.util.Collection<java.lang.String> recipients) |
Policy |
IClient.requestPolicy(java.util.Collection<java.lang.String> recipients)
Request the policy rules that applies to the combination of the current user as sender, and the specified recipients.
|
java.util.Map<java.lang.String,QuickConnectionState> |
Client.requestQuickConnectionStates(java.util.List<java.lang.String> userEmailAddresses) |
java.util.Map<java.lang.String,QuickConnectionState> |
IClient.requestQuickConnectionStates(java.util.List<java.lang.String> userEmailAddresses)
Requests the
QuickConnectionState for each of the specified recipients. |
RecipientQuickState |
Client.requestRecipientQuickState(java.lang.String metaId) |
RecipientQuickState |
IClient.requestRecipientQuickState(java.lang.String metaId)
Requests information about the QUICK state of a transfer recipient.
|
void |
Client.requestSenderVerification() |
void |
IClient.requestSenderVerification()
Requests a sender verification.
|
ServerData |
Client.requestServerData() |
ServerData |
IClient.requestServerData()
Requests the general server settings from the Cryptshare server.
|
TermsOfUse |
Client.requestTermsOfUse() |
TermsOfUse |
IClient.requestTermsOfUse()
Requests the Terms of Use from the server.
|
void |
Client.resetQuickState() |
void |
IClient.resetQuickState()
Resets the QUICK state of the user on the Cryptshare server.
|
void |
Client.revokeTransfer(java.lang.String trackingId) |
void |
IClient.revokeTransfer(java.lang.String trackingId)
Revokes the transfer with the given trackingId such that its files are no longer accessible.
|
void |
Client.revokeTransfer(java.lang.String trackingId,
boolean notifyRecipient,
boolean notifySender) |
void |
IClient.revokeTransfer(java.lang.String trackingId,
boolean notifyRecipient,
boolean notifySender)
Revokes the transfer with the given trackingId such that its files are no longer accessible.
|
void |
Client.revokeTransfer(java.lang.String trackingId,
boolean notifyRecipient,
boolean notifySender,
java.lang.String message) |
void |
IClient.revokeTransfer(java.lang.String trackingId,
boolean notifyRecipient,
boolean notifySender,
java.lang.String message)
Revokes the transfer with the given trackingId such that its files are no longer accessible.
|
void |
Client.revokeTransfer(java.lang.String trackingId,
java.lang.String message) |
void |
IClient.revokeTransfer(java.lang.String trackingId,
java.lang.String message)
Revokes the transfer with the given trackingId such that its files are no longer accessible.
|
byte[] |
IProtectionService.unprotect(byte[] protectedBytes)
Removes the protection from the given protected content.
|
byte[] |
AesProtectionService.unprotect(byte[] protectedBytes) |
byte[] |
DpApiProtectionService.unprotect(byte[] protectedBytes)
Unprotects the given content, using Windows DPAPI.
|
void |
Client.updateTransferError(java.lang.String trackingId,
TransferError transferError) |
void |
IClient.updateTransferError(java.lang.String trackingId,
TransferError transferError)
Updates the error status for the Transfer with the given tracking ID.
|
| Constructor and Description |
|---|
Client(java.lang.String userEmailAddress,
CryptshareConnection connection,
java.nio.file.Path storePath)
Constructs a Client instance that sets the
Locale.getDefault() as user language, and uses a file based store to persist information. |
Client(java.lang.String userEmailAddress,
CryptshareConnection connection,
java.nio.file.Path storePath,
ProtectionScope protectionScope)
Constructs a Client instance that sets the
Locale.getDefault() as user language, and uses a file based store to persist information. |
Client(java.lang.String userEmailAddress,
java.util.Locale userLanguage,
CryptshareConnection connection,
IStore store)
Constructs a Client instance with a custom
IStore implementation. |
Client(java.lang.String userEmailAddress,
java.util.Locale userLanguage,
CryptshareConnection connection,
java.nio.file.Path storePath)
Constructs a Client instance that sets the
Locale.getDefault() as user language, and uses a file based store to persist information. |
Client(java.lang.String userEmailAddress,
java.util.Locale userLanguage,
CryptshareConnection connection,
java.nio.file.Path storePath,
ProtectionScope protectionScope)
Constructs a
Client instance that sets the Locale as user language, and uses a file based store to persist information. |