Encryptor
Create a channel for a secret and upload an encryption
Description
Parameters
Name
In
Type
Required
Description
{
"encryption": {
"description": "string",
"tokenHash": "d033713dd14552c060c55746afdb989cfee8e624ae94a932d79fd25630f728a4",
"ciphertext": {
"encryptedMessage": {
"ciphertext": "base64_encoded_data",
"iv": "base64_encoded_data"
},
"encryptedEphemeralKey": "base64_encoded_data"
},
"trusteeShares": {
"trustee1": {
"encrypted": "base64_encoded_data",
"hashed": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}
},
"validatorShares": {
"validator1": {
"encrypted": {
"encryptedMessage": {
"ciphertext": "base64_encoded_data",
"iv": "base64_encoded_data"
},
"encryptedEphemeralKey": "base64_encoded_data"
}
}
},
},
"channelKey": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE5fYv3lbLtDjR5IxAurWF6TMfhNZB\nPUn2DLapmjLWvZXYjqSrflJx4TemksjRyMDi+CwWP0PkunBB6wUdCDmdWA==\n-----END PUBLIC KEY-----"
}Responses
Status
Meaning
Description
Schema
200 OK
401 Unauthorized
409 Conflict
Get encryption status
Description
Parameters
Name
In
Type
Required
Description
Example
Responses
Status
Meaning
Description
Schema
200 OK
Name
Type
Required
Restrictions
Description
401 Unauthorized
Update encryption
Description
Parameters
Name
In
Type
Required
Description
Example
Responses
Status
Meaning
Description
Schema
200 OK
400 Bad Request
401 Unauthorized
Schemas
TrusteeId
Schema
Type
Restrictions
ValidatorId
Example
Schema
Type
Restrictions
Encryption
Schema
Name
Type
Required
Description
Sha256
Schema
Type
Restrictions
DateTime
Schema
Type
Restrictions
Trustee
Schema
Name
Type
Required
Restrictions
Description
Enumerated Values
Property
Value
Validator
Schema
Name
Type
Required
Restrictions
Description
Enumerated Values
Property
Value
Base64
Schema
Type
Restrictions
Ciphertext
Schema
Name
Type
Required
Restrictions
Description
PadInstanceMetadata
Schema
Name
Type
Required
Restrictions
Description
ApiResponse
Schema
Name
Type
Required
Description
Token
Schema
Type
Restrictions
PadName
Schema
Type
Restrictions
Last updated