All URIs are relative to http://localhost:36911
| Method | HTTP request | Description |
|---|---|---|
| create_quasi_salt | POST /crypto/hash/quasi-salted-hash | |
| decrypt | POST /crypto/openpgp/decrypt | |
| encrypt | POST /crypto/openpgp/encrypt | |
| generate_key_pair | POST /crypto/openpgp/generate-key-pair | |
| get_public_key | POST /crypto/openpgp/get-public-key | |
| sha256 | POST /crypto/hash/sha256 | |
| sha384 | POST /crypto/hash/sha384 | |
| sha512 | POST /crypto/hash/sha512 | |
| sign | POST /crypto/openpgp/sign | |
| verify | POST /crypto/openpgp/verify | |
| verify_quasi_salt | POST /crypto/hash/quasi-salted-hash-verify |
create_quasi_salt(quasi_salt_hash_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.quasi_salt_hash_dto import QuasiSaltHashDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.CryptographyApi(api_client)
quasi_salt_hash_dto = dappserver_server_sdk.QuasiSaltHashDTO() # QuasiSaltHashDTO |
try:
api_instance.create_quasi_salt(quasi_salt_hash_dto)
except Exception as e:
print("Exception when calling CryptographyApi->create_quasi_salt: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| quasi_salt_hash_dto | QuasiSaltHashDTO |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
decrypt(open_pgp_decrypt_byiddto)
import dappserver_server_sdk
from dappserver_server_sdk.models.open_pgp_decrypt_byiddto import OpenPGPDecryptBYIDDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.CryptographyApi(api_client)
open_pgp_decrypt_byiddto = dappserver_server_sdk.OpenPGPDecryptBYIDDTO() # OpenPGPDecryptBYIDDTO |
try:
api_instance.decrypt(open_pgp_decrypt_byiddto)
except Exception as e:
print("Exception when calling CryptographyApi->decrypt: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| open_pgp_decrypt_byiddto | OpenPGPDecryptBYIDDTO |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
encrypt(open_pgp_encrypt_byiddto)
import dappserver_server_sdk
from dappserver_server_sdk.models.open_pgp_encrypt_byiddto import OpenPGPEncryptBYIDDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.CryptographyApi(api_client)
open_pgp_encrypt_byiddto = dappserver_server_sdk.OpenPGPEncryptBYIDDTO() # OpenPGPEncryptBYIDDTO |
try:
api_instance.encrypt(open_pgp_encrypt_byiddto)
except Exception as e:
print("Exception when calling CryptographyApi->encrypt: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| open_pgp_encrypt_byiddto | OpenPGPEncryptBYIDDTO |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
generate_key_pair(open_pgp_create_key_pair_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.open_pgp_create_key_pair_dto import OpenPGPCreateKeyPairDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.CryptographyApi(api_client)
open_pgp_create_key_pair_dto = dappserver_server_sdk.OpenPGPCreateKeyPairDTO() # OpenPGPCreateKeyPairDTO |
try:
api_instance.generate_key_pair(open_pgp_create_key_pair_dto)
except Exception as e:
print("Exception when calling CryptographyApi->generate_key_pair: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| open_pgp_create_key_pair_dto | OpenPGPCreateKeyPairDTO |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_public_key(open_pgp_get_public_key_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.open_pgp_get_public_key_dto import OpenPGPGetPublicKeyDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.CryptographyApi(api_client)
open_pgp_get_public_key_dto = dappserver_server_sdk.OpenPGPGetPublicKeyDTO() # OpenPGPGetPublicKeyDTO |
try:
api_instance.get_public_key(open_pgp_get_public_key_dto)
except Exception as e:
print("Exception when calling CryptographyApi->get_public_key: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| open_pgp_get_public_key_dto | OpenPGPGetPublicKeyDTO |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sha256(hash_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.hash_dto import HashDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.CryptographyApi(api_client)
hash_dto = dappserver_server_sdk.HashDTO() # HashDTO |
try:
api_instance.sha256(hash_dto)
except Exception as e:
print("Exception when calling CryptographyApi->sha256: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| hash_dto | HashDTO |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sha384(hash_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.hash_dto import HashDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.CryptographyApi(api_client)
hash_dto = dappserver_server_sdk.HashDTO() # HashDTO |
try:
api_instance.sha384(hash_dto)
except Exception as e:
print("Exception when calling CryptographyApi->sha384: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| hash_dto | HashDTO |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sha512(hash_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.hash_dto import HashDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.CryptographyApi(api_client)
hash_dto = dappserver_server_sdk.HashDTO() # HashDTO |
try:
api_instance.sha512(hash_dto)
except Exception as e:
print("Exception when calling CryptographyApi->sha512: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| hash_dto | HashDTO |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sign(open_pgp_sign_byiddto)
import dappserver_server_sdk
from dappserver_server_sdk.models.open_pgp_sign_byiddto import OpenPGPSignBYIDDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.CryptographyApi(api_client)
open_pgp_sign_byiddto = dappserver_server_sdk.OpenPGPSignBYIDDTO() # OpenPGPSignBYIDDTO |
try:
api_instance.sign(open_pgp_sign_byiddto)
except Exception as e:
print("Exception when calling CryptographyApi->sign: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| open_pgp_sign_byiddto | OpenPGPSignBYIDDTO |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
verify(open_pgp_verify_byiddto)
import dappserver_server_sdk
from dappserver_server_sdk.models.open_pgp_verify_byiddto import OpenPGPVerifyBYIDDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.CryptographyApi(api_client)
open_pgp_verify_byiddto = dappserver_server_sdk.OpenPGPVerifyBYIDDTO() # OpenPGPVerifyBYIDDTO |
try:
api_instance.verify(open_pgp_verify_byiddto)
except Exception as e:
print("Exception when calling CryptographyApi->verify: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| open_pgp_verify_byiddto | OpenPGPVerifyBYIDDTO |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
verify_quasi_salt(quasi_salt_hash_verify_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.quasi_salt_hash_verify_dto import QuasiSaltHashVerifyDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.CryptographyApi(api_client)
quasi_salt_hash_verify_dto = dappserver_server_sdk.QuasiSaltHashVerifyDTO() # QuasiSaltHashVerifyDTO |
try:
api_instance.verify_quasi_salt(quasi_salt_hash_verify_dto)
except Exception as e:
print("Exception when calling CryptographyApi->verify_quasi_salt: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| quasi_salt_hash_verify_dto | QuasiSaltHashVerifyDTO |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]