Crypto Adapter Reference
Tagged Values (<<Crypto>>)
| Attribute | Description | Allowed Values | |
|---|---|---|---|
| action | Supply the action you want to perform. | createKeys | Create a private/public key pair. |
| createSignature | Create a signature with a given key. | ||
| verifySignature | Verify a signature against a given key. | ||
| createHash | Create a hash value of a given blob. | ||
| digestAlgorithm | Supply the digest algorithm for generating a hash. | blake2b512, blake2s256, | Use the specified algorithm with action createHash. Default if not set is sha1. |
Parameters
createKeys
| Name | Type | Direction | Description |
|---|---|---|---|
| privateKey | Blob | out | Returns the generated private key. |
| publicKey | Blob | out | Returns the generated public key. |
createSignature
| Name | Type | Direction | Description |
|---|---|---|---|
| data | Blob | in | Specify the data that should be signed. |
| privateKey | Blob | in | Specify the private key to generate the signature from. |
| signature | Blob | out | Returns the generated signature. |
verifySignature
| Name | Type | Direction | Description |
|---|---|---|---|
| data | Blob | in | Specify the data to verify the signature against. |
| publicKey | Blob | in | Specify the public key to verify the signature against. |
| signature | Blob | in | Specify the signature to verify |
createHash
| Name | Type | Direction | Description | Allowed Values | |
|---|---|---|---|---|---|
| algorithm | String | in | Specify the algorithm you want to use for hashing. | Not supplied | Use the algorithm defined in tagged value digestAlgorithm of the <<Crypto>> adapter. |
blake2b512, blake2s256, | Use the specified algorithm to generate the hash. | ||||
| data | Blob | in | Specify the data to create the hash value from. | ||
| hash | Blob | out | Returns the generated hash. | ||