JwtHelper
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun createRootCert( keyPair: KeyPair, issuer: String = "cn=ComunyAndroidCert", nbf: Date = Date(System.currentTimeMillis() - notBeforeOffset), exp: Date = Date(System.currentTimeMillis() + notAfterOffset), subject: String = issuer): X509Certificate
Content copied to clipboard
Generate a root certificate for the given key pair.