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

项目: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));
}
项目: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));
}
项目:vbrowser    文件:VOMSAttributeCertificate.java   
public void setIssuer( String issuerDN ) throws Exception
{
    try
    {
        DERSequence issuer_name_sequence = DNtoDERSequence( issuerDN ) ;

        V2Form v2form = new V2Form( new GeneralNames( new GeneralName( 4 , issuer_name_sequence ) ) ) ;

        this.issuer = new AttCertIssuer( v2form ) ;
    }
    catch(Exception e)
    {
        throw e ;
    }
}
项目:ipack    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:ipack    文件:X509V2AttributeCertificateGenerator.java   
/**
 * Set the issuer
 */
public void setIssuer(
    AttributeCertificateIssuer  issuer)
{
    acInfoGen.setIssuer(AttCertIssuer.getInstance(issuer.form));
}
项目:ipack    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:Direct-File-Downloader    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:gwt-crypto    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:Aki-SSL    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:Aki-SSL    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:AcademicTorrents-Downloader    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:CryptMeme    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:CryptMeme    文件:X509V2AttributeCertificateGenerator.java   
/**
 * Set the issuer
 */
public void setIssuer(
    AttributeCertificateIssuer  issuer)
{
    acInfoGen.setIssuer(AttCertIssuer.getInstance(issuer.form));
}
项目:irma_future_id    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:irma_future_id    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:irma_future_id    文件:X509V2AttributeCertificateGenerator.java   
/**
 * Set the issuer
 */
public void setIssuer(
    AttributeCertificateIssuer  issuer)
{
    acInfoGen.setIssuer(AttCertIssuer.getInstance(issuer.form));
}
项目:irma_future_id    文件:AttributeCertificateIssuer.java   
/**
 * @param issuer
 */
AttributeCertificateIssuer(
    AttCertIssuer issuer)
{
    form = issuer.getIssuer();
}
项目:irma_future_id    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:irma_future_id    文件:AttributeCertificateIssuer.java   
/**
 * @param issuer
 */
AttributeCertificateIssuer(
    AttCertIssuer issuer)
{
    form = issuer.getIssuer();
}
项目:irma_future_id    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:irma_future_id    文件:X509V2AttributeCertificateGenerator.java   
/**
 * Set the issuer
 */
public void setIssuer(
    AttributeCertificateIssuer  issuer)
{
    acInfoGen.setIssuer(AttCertIssuer.getInstance(issuer.form));
}
项目:bc-java    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:bc-java    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:bc-java    文件:X509V2AttributeCertificateGenerator.java   
/**
 * Set the issuer
 */
public void setIssuer(
    AttributeCertificateIssuer  issuer)
{
    acInfoGen.setIssuer(AttCertIssuer.getInstance(issuer.form));
}
项目:bc-java    文件:AttributeCertificateIssuer.java   
/**
 * @param issuer
 */
AttributeCertificateIssuer(
    AttCertIssuer issuer)
{
    form = issuer.getIssuer();
}
项目:bc-java    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:bc-java    文件:AttributeCertificateIssuer.java   
/**
 * @param issuer
 */
AttributeCertificateIssuer(
    AttCertIssuer issuer)
{
    form = issuer.getIssuer();
}
项目:bc-java    文件:AttributeCertificateIssuer.java   
public Object clone()
{
    return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form));
}
项目:bc-java    文件:X509V2AttributeCertificateGenerator.java   
/**
 * Set the issuer
 */
public void setIssuer(
    AttributeCertificateIssuer  issuer)
{
    acInfoGen.setIssuer(AttCertIssuer.getInstance(issuer.form));
}
项目:ipack    文件:AttributeCertificateIssuer.java   
/**
 * Set the issuer directly with the ASN.1 structure.
 * 
 * @param issuer The issuer
 */
public AttributeCertificateIssuer(AttCertIssuer issuer)
{
    form = issuer.getIssuer();
}
项目:ipack    文件:AttributeCertificateIssuer.java   
/**
 * Set the issuer directly with the ASN.1 structure.
 *
 * @param issuer The issuer
 */
public AttributeCertificateIssuer(AttCertIssuer issuer)
{
    form = issuer.getIssuer();
}
项目:Direct-File-Downloader    文件:AttributeCertificateIssuer.java   
/**
 * Set the issuer directly with the ASN.1 structure.
 * 
 * @param issuer The issuer
 */
AttributeCertificateIssuer(AttCertIssuer issuer)
{
    form = issuer.getIssuer();
}
项目:gwt-crypto    文件:AttributeCertificateIssuer.java   
/**
 * Set the issuer directly with the ASN.1 structure.
 *
 * @param issuer The issuer
 */
public AttributeCertificateIssuer(AttCertIssuer issuer)
{
    form = issuer.getIssuer();
}
项目:Aki-SSL    文件:AttributeCertificateIssuer.java   
/**
 * Set the issuer directly with the ASN.1 structure.
 * 
 * @param issuer The issuer
 */
public AttributeCertificateIssuer(AttCertIssuer issuer)
{
    form = issuer.getIssuer();
}
项目:Aki-SSL    文件:AttributeCertificateIssuer.java   
/**
 * Set the issuer directly with the ASN.1 structure.
 *
 * @param issuer The issuer
 */
public AttributeCertificateIssuer(AttCertIssuer issuer)
{
    form = issuer.getIssuer();
}
项目:AcademicTorrents-Downloader    文件:AttributeCertificateIssuer.java   
/**
 * Set the issuer directly with the ASN.1 structure.
 * 
 * @param issuer The issuer
 */
AttributeCertificateIssuer(AttCertIssuer issuer)
{
    form = issuer.getIssuer();
}