base64OrNull

expect override fun base64OrNull(): String(source)

Returns a Base64 (no padding) encoded String of the raw key value, or null if the key does not support encoding or Key.Private.isDestroyed is true.

NOTE: String is immutable and thus cannot be back-filled after use. For Key.Private, one should prefer using base64CharsOrNull instead.

See also

actual override fun base64OrNull(): String(source)
actual override fun base64OrNull(): String(source)