public interface CertificateGenerator
Modifier and Type | Method and Description |
---|---|
CertifiedPublicKey |
generate(PrincipalIndentifier subjectName,
PublicKeyParameters subject,
CertificateParameters parameters)
Generate a new certificate.
|
CertifiedPublicKey generate(PrincipalIndentifier subjectName, PublicKeyParameters subject, CertificateParameters parameters) throws IOException, GeneralSecurityException
subjectName
- the identifier of the public key owner.subject
- the public key to certify.parameters
- the subject parameters of the certificate (ie: subjectAltName extension)IOException
- on encoding error.GeneralSecurityException
- if the signing algorithm is unable to proceed properly.Copyright © 2004–2021 XWiki. All rights reserved.