public interface EncryptedDocumentWriteService
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
write(Map<PublicKeyIDWithPublicKey,AbsoluteLocation> recipientsWithInbox)
Writes and encrypts data using public key cryptography, so that only private key owner can read it.
|
OutputStream |
write(WithCallback<AbsoluteLocation<PrivateResource>,ResourceWriteCallback> locationWithCallback,
SecretKeyIDWithKey secretKey)
Writes and encrypts data using symmetric cryptography.
|
OutputStream write(Map<PublicKeyIDWithPublicKey,AbsoluteLocation> recipientsWithInbox)
recipientsWithInbox - Map of (recipient public key - recipients' inbox) of users with whom to share file.OutputStream write(WithCallback<AbsoluteLocation<PrivateResource>,ResourceWriteCallback> locationWithCallback, SecretKeyIDWithKey secretKey)
locationWithCallback - Where to write data with callbacks to notifysecretKey - Secret key and its ID to encrypt withCopyright © 2019. All rights reserved.