Skip to content

ws1-client-sdk/com.airwatch.bizlib.model/CertificateDefinition

CertificateDefinition

open class CertificateDefinition

Parcelable model representing certificate data along with the credentials needed to access it.

Functions

Name Summary
getAppPackage open fun getAppPackage(): String
Returns the package name of the application this certificate belongs to.
getCertificateData open fun getCertificateData(): Array<Byte>
Returns the binary data of the certificate, decoded from its Base64 representation.
getCertificateString open fun getCertificateString(): String
Returns the certificate payload as a Base64-encoded string.
getCredentialPwd open fun getCredentialPwd(): String
Returns the credential storage password used to access the certificate.
getEnableTima open fun getEnableTima(): Boolean
Indicates whether TIMA (TrustZone-based Integrity Measurement Architecture) key storage is enabled for this certificate.
getId open fun getId(): Int
Returns the integer identifier assigned to this certificate.
getName open fun getName(): String
Returns the name assigned to the Certificate by the WS1 Console (typically the subject name).
getPassword open fun getPassword(): String
Returns the password associated with the certificate, when applicable (for example, for PKCS#12 certificates).
getThumbprint open fun getThumbprint(): String
Returns the thumbprint (fingerprint) of the certificate.
getType open fun getType(): String
Returns the type of the certificate (for example, X.509 or PKCS12).
getUuid open fun getUuid(): String
Returns the unique UUID assigned to the Certificate by the WS1 Console.
isCertificateInstallable open fun isCertificateInstallable(): Boolean
Indicates whether the certificate should be installed into the device trust store.