public interface PrivateKeyService
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<Void> |
destroy(PrivateKeyInfo privateKeyInfo) |
retrofit2.Call<PrivateKeyInfo> |
get(PrivateKeyRequestPayload payload)
Downloads private part of key by its public id.
|
retrofit2.Call<Void> |
stash(PrivateKeyInfo privateKeyInfo)
Load a private key into the Private Keys Service storage.
|
@POST(value="/v3/private-key") retrofit2.Call<Void> stash(@Body PrivateKeyInfo privateKeyInfo)
privateKeyInfo - the public key information.@POST(value="/v3/private-key/actions/grab") retrofit2.Call<PrivateKeyInfo> get(@Body PrivateKeyRequestPayload payload)
payload - describes public key.@POST(value="/v3/private-key/actions/delete") retrofit2.Call<Void> destroy(@Body PrivateKeyInfo privateKeyInfo)
Copyright © 2016. All rights reserved.