PublicKey
open 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)
Inheritors
Types
Link copied to clipboard
class AndroidSpecific @JvmOverloads constructor(publicKey: PublicKey, caName: X500Principal? = null, val enforceFactoryProvisionedChainValidity: Boolean) : TrustedRoot.PublicKey, TrustedRoot.AndroidSpecific