RSAValidator

open class RSAValidator

Validate RSA PEM keys.

Functions

Link copied to clipboard
open fun isPrivateKey(pem: String): Boolean
Check if the given string is an RSA private key.
Link copied to clipboard
open fun isPublicKey(pem: String): Boolean
Check if the given string is an RSA public key.