Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network Docs/Admin APIgRPC APIPackagescom.digitalasset.canton.crypto.admin.v30ServicesVaultServiceView on Canton Network Docs

GenerateEncryptionKey

Shared AdministrationProtobufcom.digitalasset.canton.crypto.admin.v30GenerateEncryptionKey

com.digitalasset.canton.crypto.admin.v30

GenerateEncryptionKey

gRPC
RPC/com.digitalasset.canton.crypto.admin.v30.VaultService/GenerateEncryptionKey

Protocol Details

Inputs

GenerateEncryptionKeyRequest

key_specEncryptionKeySpec
namestring

Outputs

GenerateEncryptionKeyResponse

public_keyEncryptionPublicKey

com.digitalasset.canton.crypto.admin.v30.GenerateEncryptionKeyRequest

key_specEncryptionKeySpec
namestring

com.digitalasset.canton.crypto.admin.v30.GenerateEncryptionKeyResponse

public_keyEncryptionPublicKey
grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
  -d @ \
  <HOST:PORT> \
  com.digitalasset.canton.crypto.admin.v30.VaultService/GenerateEncryptionKey <<'EOF'
{
  "keySpec": "string",
  "name": "string"
}
EOF
OKapplication/json
OK
{
  "publicKey": "string"
}