public class KeyTools extends Object
Constructor and Description |
---|
KeyTools() |
Modifier and Type | Method and Description |
---|---|
static X509Certificate |
generateTestCertificate(KeyPair pair) |
static X509Certificate |
generateTestCertificate(String subject,
String issuer,
KeyPair pair) |
public static X509Certificate generateTestCertificate(String subject, String issuer, KeyPair pair) throws InvalidKeyException, NoSuchProviderException, SignatureException
public static X509Certificate generateTestCertificate(KeyPair pair) throws InvalidKeyException, NoSuchProviderException, SignatureException
Copyright © 2015 JBoss by Red Hat. All rights reserved.