Java 类org.bouncycastle.asn1.x509.V3TBSCertificateGenerator 实例源码

项目:ipack    文件:X509v3CertificateBuilder.java   
/**
 * Create a builder for a version 3 certificate.
 *
 * @param issuer the certificate issuer
 * @param serial the certificate serial number
 * @param notBefore the date before which the certificate is not valid
 * @param notAfter the date after which the certificate is not valid
 * @param subject the certificate subject
 * @param publicKeyInfo the info structure for the public key to be associated with this certificate.
 */
public X509v3CertificateBuilder(X500Name issuer, BigInteger serial, Date notBefore, Date notAfter, X500Name subject, SubjectPublicKeyInfo publicKeyInfo)
{
    tbsGen = new V3TBSCertificateGenerator();
    tbsGen.setSerialNumber(new ASN1Integer(serial));
    tbsGen.setIssuer(issuer);
    tbsGen.setStartDate(new Time(notBefore));
    tbsGen.setEndDate(new Time(notAfter));
    tbsGen.setSubject(subject);
    tbsGen.setSubjectPublicKeyInfo(publicKeyInfo);

    extGenerator = new ExtensionsGenerator();
}
项目:gwt-crypto    文件:X509v3CertificateBuilder.java   
/**
 * Create a builder for a version 3 certificate.
 *
 * @param issuer the certificate issuer
 * @param serial the certificate serial number
 * @param notBefore the Time before which the certificate is not valid
 * @param notAfter the Time after which the certificate is not valid
 * @param subject the certificate subject
 * @param publicKeyInfo the info structure for the public key to be associated with this certificate.
 */
public X509v3CertificateBuilder(X500Name issuer, BigInteger serial, Time notBefore, Time notAfter, X500Name subject, SubjectPublicKeyInfo publicKeyInfo)
{
    tbsGen = new V3TBSCertificateGenerator();
    tbsGen.setSerialNumber(new ASN1Integer(serial));
    tbsGen.setIssuer(issuer);
    tbsGen.setStartDate(notBefore);
    tbsGen.setEndDate(notAfter);
    tbsGen.setSubject(subject);
    tbsGen.setSubjectPublicKeyInfo(publicKeyInfo);

    extGenerator = new ExtensionsGenerator();
}
项目:Aki-SSL    文件:X509v3CertificateBuilder.java   
/**
 * Create a builder for a version 3 certificate.
 *
 * @param issuer the certificate issuer
 * @param serial the certificate serial number
 * @param notBefore the Time before which the certificate is not valid
 * @param notAfter the Time after which the certificate is not valid
 * @param subject the certificate subject
 * @param publicKeyInfo the info structure for the public key to be associated with this certificate.
 */
public X509v3CertificateBuilder(X500Name issuer, BigInteger serial, Time notBefore, Time notAfter, X500Name subject, SubjectPublicKeyInfo publicKeyInfo)
{
    tbsGen = new V3TBSCertificateGenerator();
    tbsGen.setSerialNumber(new ASN1Integer(serial));
    tbsGen.setIssuer(issuer);
    tbsGen.setStartDate(notBefore);
    tbsGen.setEndDate(notAfter);
    tbsGen.setSubject(subject);
    tbsGen.setSubjectPublicKeyInfo(publicKeyInfo);

    extGenerator = new ExtensionsGenerator();
}
项目:AcademicTorrents-Downloader    文件:X509V3CertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    tbsGen = new V3TBSCertificateGenerator();
    extensions = null;
    extOrdering = null;
}
项目:irma_future_id    文件:X509v3CertificateBuilder.java   
/**
 * Create a builder for a version 3 certificate.
 *
 * @param issuer the certificate issuer
 * @param serial the certificate serial number
 * @param notBefore the date before which the certificate is not valid
 * @param notAfter the date after which the certificate is not valid
 * @param subject the certificate subject
 * @param publicKeyInfo the info structure for the public key to be associated with this certificate.
 */
public X509v3CertificateBuilder(X500Name issuer, BigInteger serial, Date notBefore, Date notAfter, X500Name subject, SubjectPublicKeyInfo publicKeyInfo)
{
    tbsGen = new V3TBSCertificateGenerator();
    tbsGen.setSerialNumber(new ASN1Integer(serial));
    tbsGen.setIssuer(issuer);
    tbsGen.setStartDate(new Time(notBefore));
    tbsGen.setEndDate(new Time(notAfter));
    tbsGen.setSubject(subject);
    tbsGen.setSubjectPublicKeyInfo(publicKeyInfo);

    extGenerator = new ExtensionsGenerator();
}
项目:bc-java    文件:X509v3CertificateBuilder.java   
/**
 * Create a builder for a version 3 certificate.
 *
 * @param issuer the certificate issuer
 * @param serial the certificate serial number
 * @param notBefore the date before which the certificate is not valid
 * @param notAfter the date after which the certificate is not valid
 * @param subject the certificate subject
 * @param publicKeyInfo the info structure for the public key to be associated with this certificate.
 */
public X509v3CertificateBuilder(X500Name issuer, BigInteger serial, Date notBefore, Date notAfter, X500Name subject, SubjectPublicKeyInfo publicKeyInfo)
{
    tbsGen = new V3TBSCertificateGenerator();
    tbsGen.setSerialNumber(new ASN1Integer(serial));
    tbsGen.setIssuer(issuer);
    tbsGen.setStartDate(new Time(notBefore));
    tbsGen.setEndDate(new Time(notAfter));
    tbsGen.setSubject(subject);
    tbsGen.setSubjectPublicKeyInfo(publicKeyInfo);

    extGenerator = new ExtensionsGenerator();
}
项目:ipack    文件:X509V3CertificateGenerator.java   
public X509V3CertificateGenerator()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator = new X509ExtensionsGenerator();
}
项目:ipack    文件:X509V3CertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator.reset();
}
项目:Aki-SSL    文件:X509V3CertificateGenerator.java   
public X509V3CertificateGenerator()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator = new X509ExtensionsGenerator();
}
项目:Aki-SSL    文件:X509V3CertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator.reset();
}
项目:AcademicTorrents-Downloader    文件:X509V3CertificateGenerator.java   
public X509V3CertificateGenerator()
{
    tbsGen = new V3TBSCertificateGenerator();
}
项目:CryptMeme    文件:X509V3CertificateGenerator.java   
public X509V3CertificateGenerator()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator = new X509ExtensionsGenerator();
}
项目:CryptMeme    文件:X509V3CertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator.reset();
}
项目:irma_future_id    文件:X509V3CertificateGenerator.java   
public X509V3CertificateGenerator()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator = new X509ExtensionsGenerator();
}
项目:irma_future_id    文件:X509V3CertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator.reset();
}
项目:irma_future_id    文件:X509V3CertificateGenerator.java   
public X509V3CertificateGenerator()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator = new X509ExtensionsGenerator();
}
项目:irma_future_id    文件:X509V3CertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator.reset();
}
项目:irma_future_id    文件:X509V3CertificateGenerator.java   
public X509V3CertificateGenerator()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator = new X509ExtensionsGenerator();
}
项目:irma_future_id    文件:X509V3CertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator.reset();
}
项目:bc-java    文件:X509V3CertificateGenerator.java   
public X509V3CertificateGenerator()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator = new X509ExtensionsGenerator();
}
项目:bc-java    文件:X509V3CertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator.reset();
}
项目:bc-java    文件:X509V3CertificateGenerator.java   
public X509V3CertificateGenerator()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator = new X509ExtensionsGenerator();
}
项目:bc-java    文件:X509V3CertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator.reset();
}
项目:bc-java    文件:X509V3CertificateGenerator.java   
public X509V3CertificateGenerator()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator = new X509ExtensionsGenerator();
}
项目:bc-java    文件:X509V3CertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    tbsGen = new V3TBSCertificateGenerator();
    extGenerator.reset();
}