tools
2.2.3
tools
/
me.scolastico.tools.simplified.rsa
/
RSAValidator
RSAValidator
open
class
RSAValidator
Content copied to clipboard
Validate RSA PEM keys.
Functions
Functions
is
Private
Key
Link copied to clipboard
open
fun
isPrivateKey
(
pem
:
String
)
:
Boolean
Content copied to clipboard
Check if the given string is an RSA private key.
is
Public
Key
Link copied to clipboard
open
fun
isPublicKey
(
pem
:
String
)
:
Boolean
Content copied to clipboard
Check if the given string is an RSA public key.