Skip navigation links
com.cloudpos.jniinterface

Class HSMInterface

Parameters:
certType: - the certificate type, could be CERT_TYPE_OWNER, CERT_TYPE_APP_ROOT or CERT_TYPE_COMMUNICATE.
alias: - the alias of the certificate.getCertificate
bufCert: - the data of the certificate.
bufLength: - the length of the data buffer.
dataFormat: - the format of the buffer, Currently, only FORMAT_PEM is supported.
Returns:
>=0 success
<0 the error code
Skip navigation links