PublicKey
data class PublicKey @JvmOverloads constructor(val publicKey: PublicKey, val caName: X500Principal? = null) : TrustedRoot(source)
Creates a TrustedRoot from a public key.
Parameters
publicKey
the public key
caName
the common name of the certificate authority issuing the certificate, if known. Leave blank if you do not care for Subject/Issuer name checks inside the Android Cert Path Validator (which makes sense for raw public keys)