Base64ConfigBuilder

Constructors

Link copied to clipboard
constructor()
constructor(config: Base64.Config?)

Properties

Link copied to clipboard
@JvmField
var encodeToUrlSafe: Boolean

If true, will output Base64 UrlSafe characters when encoding.

Link copied to clipboard
@JvmField
var isConstantTime: Boolean

If true, will utilize constant-time operations when encoding/decoding data. This will be slower, but help mitigate potential timing attacks with sensitive data (such as private key material).

Link copied to clipboard
@JvmField
var isLenient: Boolean

If true, spaces and new lines ('\n', '\r', ' ', '\t') will be skipped over when decoding (against RFC 4648).

Link copied to clipboard
@JvmField
var lineBreakInterval: Byte

For every lineBreakInterval of encoded data, a line break will be output.

Link copied to clipboard
@JvmField
var padEncoded: Boolean

If true, padding WILL be applied to the encoded output.

Functions

Link copied to clipboard
Link copied to clipboard

A shortcut for configuring things to be in strict adherence with RFC 4648.