org.xwiki.crypto.pkix
Interface CertificateGeneratorFactory


@Role
@Unstable
public interface CertificateGeneratorFactory

Factory of Certificate Generator.

Since:
5.4
Version:
$Id: 5e6a786d4a7c44b31ac4058f7490d2b67b217df7 $

Method Summary
 CertificateGenerator getInstance(Signer signer, CertificateGenerationParameters parameters)
          Create a initialized certificate generator.
 

Method Detail

getInstance

CertificateGenerator getInstance(Signer signer,
                                 CertificateGenerationParameters parameters)
Create a initialized certificate generator.

Parameters:
signer - a certifying signer initialized with the certified key pair of the issuer or a signer initialized with the private key of the subject for creating a self sign certificate.
parameters - the common parameters for all certificate generated by this generator.
Returns:
a certificate generator.


Copyright © 2004–2014 XWiki. All rights reserved.