Companion

Functions

Link copied to clipboard
@JvmStatic
@JvmOverloads
fun <P : ApiKey.Property> create(privateKey: ByteArray, clear: Boolean, keyId: String, properties: Set<P>, daysUntilExpiry: Int, extras: Set<String> = emptySet()): ApiKey<P>

Creates a new ApiKey for the provided arguments.

Link copied to clipboard
@JvmStatic
@JvmOverloads
fun <P : ApiKey.Property> RSAKey.Private.createApiKey(keyId: String, properties: Set<P>, daysUntilExpiry: Int, extras: Set<String> = emptySet()): ApiKey<P>

Creates a new ApiKey for provided arguments.