PemEncodable

Specialization of Asn1Encodable, able to produce PEM-encoded strings as per RFC 1421. Use in tandem with PemDecodable.

Inheritors

Properties

Link copied to clipboard

Encapsulation boundary string. Will be automatically fenced.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun encodeToDerSafe(): KmmResult<ByteArray>
Link copied to clipboard
fun PemEncodable<*>.encodeToPEM(): KmmResult<String>

Encodes this PemEncodable into a PEM-encoded string

Link copied to clipboard
abstract fun encodeToTlv(): A
Link copied to clipboard
open fun encodeToTlvOrNull(): A?
Link copied to clipboard
open fun encodeToTlvSafe(): KmmResult<A>
Link copied to clipboard
open infix fun withImplicitTag(tagValue: ULong): Asn1Element