-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/os/5.2' into dependabot/gradle/com.gradle.commo…
…n-custom-user-data-gradle-plugin-1.12.1
- Loading branch information
Showing
8 changed files
with
117 additions
and
1 deletion.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
...n/resources/avro/net/corda/data/crypto/wire/ops/encryption/request/DecryptRpcCommand.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"type": "record", | ||
"name": "DecryptRpcCommand", | ||
"namespace": "net.corda.data.crypto.wire.ops.encryption.request", | ||
"doc": "Request to decrypt the given byte array", | ||
"fields": [ | ||
{ | ||
"name": "category", | ||
"type": "string", | ||
"doc": "The category of HSM e.g. ENCRYPTION_SECRET, TLS, etc." | ||
}, | ||
{ | ||
"name": "alias", | ||
"type": ["null", "string"], | ||
"doc": "The symmetric key alias." | ||
}, | ||
{ | ||
"name": "cipherBytes", | ||
"type": "bytes", | ||
"doc": "The data to decrypt." | ||
} | ||
] | ||
} |
23 changes: 23 additions & 0 deletions
23
...n/resources/avro/net/corda/data/crypto/wire/ops/encryption/request/EncryptRpcCommand.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"type": "record", | ||
"name": "EncryptRpcCommand", | ||
"namespace": "net.corda.data.crypto.wire.ops.encryption.request", | ||
"doc": "Request to encrypt the given byte array", | ||
"fields": [ | ||
{ | ||
"name": "category", | ||
"type": "string", | ||
"doc": "The category of HSM e.g. ENCRYPTION_SECRET, TLS, etc." | ||
}, | ||
{ | ||
"name": "alias", | ||
"type": ["null", "string"], | ||
"doc": "The symmetric key alias." | ||
}, | ||
{ | ||
"name": "plainBytes", | ||
"type": "bytes", | ||
"doc": "The data to encrypt." | ||
} | ||
] | ||
} |
13 changes: 13 additions & 0 deletions
13
...urces/avro/net/corda/data/crypto/wire/ops/encryption/response/CryptoDecryptionResult.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"type": "record", | ||
"name": "CryptoDecryptionResult", | ||
"namespace": "net.corda.data.crypto.wire.ops.encryption.response", | ||
"doc": "Decryption operation response", | ||
"fields": [ | ||
{ | ||
"name": "plainBytes", | ||
"type": "bytes", | ||
"doc": "Decrypted byte array" | ||
} | ||
] | ||
} |
13 changes: 13 additions & 0 deletions
13
...urces/avro/net/corda/data/crypto/wire/ops/encryption/response/CryptoEncryptionResult.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"type": "record", | ||
"name": "CryptoEncryptionResult", | ||
"namespace": "net.corda.data.crypto.wire.ops.encryption.response", | ||
"doc": "Encryption operation response", | ||
"fields": [ | ||
{ | ||
"name": "cipherBytes", | ||
"type": "bytes", | ||
"doc": "Encrypted byte array" | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
...ources/avro/net/corda/data/crypto/wire/ops/encryption/response/DecryptionOpsResponse.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"type": "record", | ||
"name": "DecryptionOpsResponse", | ||
"namespace": "net.corda.data.crypto.wire.ops.encryption.response", | ||
"doc": "Response for crypto's decryption operations envelope", | ||
"fields": [ | ||
{ | ||
"name": "response", | ||
"type": [ | ||
"net.corda.data.crypto.wire.ops.encryption.response.CryptoDecryptionResult", | ||
"net.corda.data.crypto.wire.ops.encryption.response.EncryptionOpsError" | ||
], | ||
"doc": "Response's payload, depends on the requested operation" | ||
} | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
...resources/avro/net/corda/data/crypto/wire/ops/encryption/response/EncryptionOpsError.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"type": "record", | ||
"name": "EncryptionOpsError", | ||
"namespace": "net.corda.data.crypto.wire.ops.encryption.response", | ||
"doc": "Error result while performing encryption or decryption operation.", | ||
"fields": [ | ||
{ | ||
"name": "errorMessage", | ||
"type": "net.corda.data.ExceptionEnvelope" | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
...ources/avro/net/corda/data/crypto/wire/ops/encryption/response/EncryptionOpsResponse.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"type": "record", | ||
"name": "EncryptionOpsResponse", | ||
"namespace": "net.corda.data.crypto.wire.ops.encryption.response", | ||
"doc": "Response for crypto's encryption operations envelope", | ||
"fields": [ | ||
{ | ||
"name": "response", | ||
"type": [ | ||
"net.corda.data.crypto.wire.ops.encryption.response.CryptoEncryptionResult", | ||
"net.corda.data.crypto.wire.ops.encryption.response.EncryptionOpsError" | ||
], | ||
"doc": "Response's payload, depends on the requested operation" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters