JOC API

Version 2.7.3

Download RAML
JOC API
/encipherment/encrypt
POST

encrypts a value and returns the encrypted value


Parameters in the POST body schema

Name Type Description Example Default
toEncrypt required, string a value that should be encrypted. "toEncrypt" : "mySecretValue"
certAlias required oneOf(certAlias, certificate), string specifies the certificate alias with which the certificate can be found. "certAlias" : "dev_1_cert"
certificate required oneOf(certAlias, certificate), string a base64 encoded X509 certificate string. "certificate" : "-----BEGIN CERTIFICATE-----\nMIIFjTCCA3WgAwIBAgIJAMx..."