exportPem

abstract fun exportPem(): String(source)

Export a PEM string containing the public portion of this credential.

  • Basic credentials export their public key.

  • x509 credentials export the full certificate chain. This enables external tools such as openssl to validate the certificate chain.