KeytoolCertificateGenerator

public class KeytoolCertificateGenerator implements CertificateGenerator

Methods

canGenerateWildcardSAN

public boolean canGenerateWildcardSAN()

generateSelfSignedCertificate

public X509Certificate generateSelfSignedCertificate(String email, String domain, String organizationUnit, String organization, String city, String state, String country, KeyPair keyPair)

generateSelfSignedCertificateEntry

public CertificateEntry generateSelfSignedCertificateEntry(String email, String domain, String organizationUnit, String organization, String city, String state, String country, KeyPair keyPair)
Parameters:
  • keyPair – is ignored due to keytool limitations