PEMKey

data class PEMKey(val keyType: PEMKeyType, val keyData: ByteArray)(source)

Representation of a cryptographic key in PEM format.

Constructors

Link copied to clipboard
constructor(keyType: PEMKeyType, keyData: String)
constructor(keyType: PEMKeyType, keyData: ByteArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Overrides the equals method of the Any class.

Link copied to clipboard
open override fun hashCode(): Int

Calculates the hash code for the PEMKey instance. The hash code is calculated based on the keyType and keyData properties of the PEMKey.

Link copied to clipboard

Encodes the PEM into base 64