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

项目:ipack    文件:X509v2AttributeCertificateBuilder.java   
public X509v2AttributeCertificateBuilder(AttributeCertificateHolder     holder, AttributeCertificateIssuer  issuer, BigInteger      serialNumber, Date notBefore, Date notAfter)
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator = new ExtensionsGenerator();

    acInfoGen.setHolder(holder.holder);
    acInfoGen.setIssuer(AttCertIssuer.getInstance(issuer.form));
    acInfoGen.setSerialNumber(new ASN1Integer(serialNumber));
    acInfoGen.setStartDate(new ASN1GeneralizedTime(notBefore));
    acInfoGen.setEndDate(new ASN1GeneralizedTime(notAfter));
}
项目:gwt-crypto    文件:X509v2AttributeCertificateBuilder.java   
/**
 * Base constructor.
 *
 * @param holder holder certificate details
 * @param issuer issuer of this attribute certificate.
 * @param serialNumber serial number of this attribute certificate.
 * @param notBefore the date before which the certificate is not valid.
 * @param notAfter the date after which the certificate is not valid.
 */
public X509v2AttributeCertificateBuilder(AttributeCertificateHolder holder, AttributeCertificateIssuer  issuer, BigInteger serialNumber, Date notBefore, Date notAfter)
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator = new ExtensionsGenerator();

    acInfoGen.setHolder(holder.holder);
    acInfoGen.setIssuer(AttCertIssuer.getInstance(issuer.form));
    acInfoGen.setSerialNumber(new ASN1Integer(serialNumber));
    acInfoGen.setStartDate(new ASN1GeneralizedTime(notBefore));
    acInfoGen.setEndDate(new ASN1GeneralizedTime(notAfter));
}
项目:Aki-SSL    文件:X509v2AttributeCertificateBuilder.java   
/**
 * Base constructor.
 *
 * @param holder holder certificate details
 * @param issuer issuer of this attribute certificate.
 * @param serialNumber serial number of this attribute certificate.
 * @param notBefore the date before which the certificate is not valid.
 * @param notAfter the date after which the certificate is not valid.
 */
public X509v2AttributeCertificateBuilder(AttributeCertificateHolder holder, AttributeCertificateIssuer  issuer, BigInteger serialNumber, Date notBefore, Date notAfter)
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator = new ExtensionsGenerator();

    acInfoGen.setHolder(holder.holder);
    acInfoGen.setIssuer(AttCertIssuer.getInstance(issuer.form));
    acInfoGen.setSerialNumber(new ASN1Integer(serialNumber));
    acInfoGen.setStartDate(new ASN1GeneralizedTime(notBefore));
    acInfoGen.setEndDate(new ASN1GeneralizedTime(notAfter));
}
项目:Aki-SSL    文件:X509v2AttributeCertificateBuilder.java   
/**
 * Base constructor with locale for interpreting dates. You may need to use this constructor if the default locale
 * doesn't use a Gregorian calender so that the GeneralizedTime produced is compatible with other ASN.1 implementations.
 *
 * @param holder holder certificate details
 * @param issuer issuer of this attribute certificate.
 * @param serialNumber serial number of this attribute certificate.
 * @param notBefore the date before which the certificate is not valid.
 * @param notAfter the date after which the certificate is not valid.
 * @param dateLocale locale to be used for date interpretation.
 */
public X509v2AttributeCertificateBuilder(AttributeCertificateHolder holder, AttributeCertificateIssuer  issuer, BigInteger serialNumber, Date notBefore, Date notAfter, Locale dateLocale)
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator = new ExtensionsGenerator();

    acInfoGen.setHolder(holder.holder);
    acInfoGen.setIssuer(AttCertIssuer.getInstance(issuer.form));
    acInfoGen.setSerialNumber(new ASN1Integer(serialNumber));
    acInfoGen.setStartDate(new ASN1GeneralizedTime(notBefore, dateLocale));
    acInfoGen.setEndDate(new ASN1GeneralizedTime(notAfter, dateLocale));
}
项目:irma_future_id    文件:X509v2AttributeCertificateBuilder.java   
public X509v2AttributeCertificateBuilder(AttributeCertificateHolder     holder, AttributeCertificateIssuer  issuer, BigInteger      serialNumber, Date notBefore, Date notAfter)
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator = new ExtensionsGenerator();

    acInfoGen.setHolder(holder.holder);
    acInfoGen.setIssuer(AttCertIssuer.getInstance(issuer.form));
    acInfoGen.setSerialNumber(new ASN1Integer(serialNumber));
    acInfoGen.setStartDate(new ASN1GeneralizedTime(notBefore));
    acInfoGen.setEndDate(new ASN1GeneralizedTime(notAfter));
}
项目:irma_future_id    文件:X509V2AttributeCertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extensions = null;
    extOrdering = null;
}
项目:bc-java    文件:X509v2AttributeCertificateBuilder.java   
public X509v2AttributeCertificateBuilder(AttributeCertificateHolder     holder, AttributeCertificateIssuer  issuer, BigInteger      serialNumber, Date notBefore, Date notAfter)
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator = new ExtensionsGenerator();

    acInfoGen.setHolder(holder.holder);
    acInfoGen.setIssuer(AttCertIssuer.getInstance(issuer.form));
    acInfoGen.setSerialNumber(new ASN1Integer(serialNumber));
    acInfoGen.setStartDate(new ASN1GeneralizedTime(notBefore));
    acInfoGen.setEndDate(new ASN1GeneralizedTime(notAfter));
}
项目:bc-java    文件:X509V2AttributeCertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extensions = null;
    extOrdering = null;
}
项目:ipack    文件:X509V2AttributeCertificateGenerator.java   
public X509V2AttributeCertificateGenerator()
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator = new X509ExtensionsGenerator();
}
项目:ipack    文件:X509V2AttributeCertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator.reset();
}
项目:CryptMeme    文件:X509V2AttributeCertificateGenerator.java   
public X509V2AttributeCertificateGenerator()
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator = new X509ExtensionsGenerator();
}
项目:CryptMeme    文件:X509V2AttributeCertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator.reset();
}
项目:irma_future_id    文件:X509V2AttributeCertificateGenerator.java   
public X509V2AttributeCertificateGenerator()
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator = new X509ExtensionsGenerator();
}
项目:irma_future_id    文件:X509V2AttributeCertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator.reset();
}
项目:irma_future_id    文件:X509V2AttributeCertificateGenerator.java   
public X509V2AttributeCertificateGenerator()
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
}
项目:bc-java    文件:X509V2AttributeCertificateGenerator.java   
public X509V2AttributeCertificateGenerator()
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator = new X509ExtensionsGenerator();
}
项目:bc-java    文件:X509V2AttributeCertificateGenerator.java   
/**
 * reset the generator
 */
public void reset()
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
    extGenerator.reset();
}
项目:bc-java    文件:X509V2AttributeCertificateGenerator.java   
public X509V2AttributeCertificateGenerator()
{
    acInfoGen = new V2AttributeCertificateInfoGenerator();
}