Package-level declarations

Cryptography and key stores utilities.

Functions

Link copied to clipboard
fun chainHmac(algorithm: String, vararg fields: String): ByteArray
Link copied to clipboard
fun createKeyManagerFactory(resource: URL, password: String, algorithm: String = KeyManagerFactory.getDefaultAlgorithm()): KeyManagerFactory
Link copied to clipboard
fun createTrustManagerFactory(resource: URL, password: String, algorithm: String = TrustManagerFactory.getDefaultAlgorithm()): TrustManagerFactory
Link copied to clipboard
fun KeyStore.getPrivateKey(alias: String, password: String): RSAPrivateKey
Link copied to clipboard
fun KeyStore.getPublicKey(alias: String): RSAPublicKey
Link copied to clipboard
fun hash(algorithm: String, data: ByteArray): ByteArray
fun hash(algorithm: String, data: String): ByteArray
Link copied to clipboard
fun hmac(algorithm: String, data: ByteArray, key: ByteArray): ByteArray
Link copied to clipboard
fun loadKeyStore(resource: URL, password: String): KeyStore
Link copied to clipboard
fun sign(algorithm: String, data: String, key: ByteArray): ByteArray