Skip to content

Commit

Permalink
Merge branch 'release/os/5.2' into dependabot/gradle/com.gradle.commo…
Browse files Browse the repository at this point in the history
…n-custom-user-data-gradle-plugin-1.12.1
  • Loading branch information
ronanbrowne authored Dec 19, 2023
2 parents 824dbcd + 01782d0 commit 70a2256
Show file tree
Hide file tree
Showing 8 changed files with 117 additions and 1 deletion.
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."
}
]
}
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."
}
]
}
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"
}
]
}
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"
}
]
}
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"
}
]
}
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"
}
]
}
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"
}
]
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cordaProductVersion = 5.2.0
# NOTE: update this each time this module contains a breaking change
## NOTE: currently this is a top level revision, so all API versions will line up, but this could be moved to
## a per module property in which case module versions can change independently.
cordaApiRevision = 17
cordaApiRevision = 18

# Main
kotlin.stdlib.default.dependency = false
Expand Down

0 comments on commit 70a2256

Please sign in to comment.