Certificate
getSignedCertificateFromAfaria( commonName, challengeCode )
Name | Type | Description |
commonName | String | Common name used to generate the certificate by Afaria |
challengeCode | String | Challenge code for the user so that CA can verify and sign it |
JSON object with CertBlob in Base64 encoded format and other information about certificate
// The following script gets a signed certificate from the Afaria server. var certStore = CertificateStore.getDefault(); cert = certStore.getSignedCertificateFromAfaria("Your_CN", "CA_challenge_code");