public class CertificateSigningService extends Object
Constructor and Description |
---|
CertificateSigningService() |
Modifier and Type | Method and Description |
---|---|
static X509Certificate |
signCSR(org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest jcaRequest,
PrivateKey privateKey,
X509Certificate caCert,
List certParameterList)
Implement certificate signing task using CSR received from the device and the MDM server key
store.
|
public static X509Certificate signCSR(org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest jcaRequest, PrivateKey privateKey, X509Certificate caCert, List certParameterList) throws CertificateGenerationException, WAPProvisioningException
jcaRequest
- - CSR from the deviceprivateKey
- - Private key of CA certificate in MDM servercaCert
- - CA certificate in MDM servercertParameterList
- - Parameter list for Signed certificate generationCertificateGenerationException
WAPProvisioningException
Copyright © 2017 WSO2. All rights reserved.