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

项目:ipack    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Certificate cert)
    throws CertificateParsingException
{
    X509Principal name;

    try
    {
        name = PrincipalUtil.getIssuerX509Principal(cert);
    }
    catch (Exception e)
    {
        throw new CertificateParsingException(e.getMessage());
    }

    holder = new Holder(new IssuerSerial(generateGeneralNames(name),
        new ASN1Integer(cert.getSerialNumber())));
}
项目:Aki-SSL    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Certificate cert)
    throws CertificateParsingException
{
    X509Principal name;

    try
    {
        name = PrincipalUtil.getIssuerX509Principal(cert);
    }
    catch (Exception e)
    {
        throw new CertificateParsingException(e.getMessage());
    }

    holder = new Holder(new IssuerSerial(generateGeneralNames(name),
        new ASN1Integer(cert.getSerialNumber())));
}
项目:AcademicTorrents-Downloader    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Certificate cert)
    throws CertificateParsingException
{
    X509Principal name;

    try
    {
        name = PrincipalUtil.getIssuerX509Principal(cert);
    }
    catch (Exception e)
    {
        throw new CertificateParsingException(e.getMessage());
    }

    holder = new Holder(new IssuerSerial(generateGeneralNames(name),
        new DERInteger(cert.getSerialNumber())));
}
项目:CryptMeme    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Certificate cert)
    throws CertificateParsingException
{
    X509Principal name;

    try
    {
        name = PrincipalUtil.getIssuerX509Principal(cert);
    }
    catch (Exception e)
    {
        throw new CertificateParsingException(e.getMessage());
    }

    holder = new Holder(new IssuerSerial(generateGeneralNames(name),
        new ASN1Integer(cert.getSerialNumber())));
}
项目:irma_future_id    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Certificate cert)
    throws CertificateParsingException
{
    X509Principal name;

    try
    {
        name = PrincipalUtil.getIssuerX509Principal(cert);
    }
    catch (Exception e)
    {
        throw new CertificateParsingException(e.getMessage());
    }

    holder = new Holder(new IssuerSerial(generateGeneralNames(name),
        new ASN1Integer(cert.getSerialNumber())));
}
项目:irma_future_id    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Certificate cert)
    throws CertificateParsingException
{
    X509Principal name;

    try
    {
        name = PrincipalUtil.getIssuerX509Principal(cert);
    }
    catch (Exception e)
    {
        throw new CertificateParsingException(e.getMessage());
    }

    holder = new Holder(new IssuerSerial(generateGeneralNames(name),
        new ASN1Integer(cert.getSerialNumber())));
}
项目:irma_future_id    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Certificate cert)
    throws CertificateParsingException
{
    X509Principal name;

    try
    {
        name = PrincipalUtil.getIssuerX509Principal(cert);
    }
    catch (Exception e)
    {
        throw new CertificateParsingException(e.getMessage());
    }

    holder = new Holder(new IssuerSerial(generateGeneralNames(name),
        new ASN1Integer(cert.getSerialNumber())));
}
项目:bc-java    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Certificate cert)
    throws CertificateParsingException
{
    X509Principal name;

    try
    {
        name = PrincipalUtil.getIssuerX509Principal(cert);
    }
    catch (Exception e)
    {
        throw new CertificateParsingException(e.getMessage());
    }

    holder = new Holder(new IssuerSerial(generateGeneralNames(name),
        new ASN1Integer(cert.getSerialNumber())));
}
项目:bc-java    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Certificate cert)
    throws CertificateParsingException
{
    X509Principal name;

    try
    {
        name = PrincipalUtil.getIssuerX509Principal(cert);
    }
    catch (Exception e)
    {
        throw new CertificateParsingException(e.getMessage());
    }

    holder = new Holder(new IssuerSerial(generateGeneralNames(name),
        new ASN1Integer(cert.getSerialNumber())));
}
项目:bc-java    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Certificate cert)
    throws CertificateParsingException
{
    X509Principal name;

    try
    {
        name = PrincipalUtil.getIssuerX509Principal(cert);
    }
    catch (Exception e)
    {
        throw new CertificateParsingException(e.getMessage());
    }

    holder = new Holder(new IssuerSerial(generateGeneralNames(name),
        new ASN1Integer(cert.getSerialNumber())));
}
项目:vbrowser    文件:VOMSAttributeCertificate.java   
public void setHolder( String holderDN , int holderSerialNumber ) throws Exception
{
    try
    {
        DERSequence holder_name_sequence = DNtoDERSequence( holderDN ) ;

        IssuerSerial baseCertificateID = new IssuerSerial( new GeneralNames( new GeneralName( 4 , holder_name_sequence ) ) , new DERInteger( holderSerialNumber ) ) ;

        this.holder = new Holder( baseCertificateID ) ;
    }

    catch(Exception e)
    {
        throw e ;
    }

}
项目:ipack    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Principal issuerName,
    BigInteger serialNumber)
{
    holder = new org.bouncycastle.asn1.x509.Holder(new IssuerSerial(
        GeneralNames.getInstance(new DERSequence(new GeneralName(issuerName))),
        new ASN1Integer(serialNumber)));
}
项目:ipack    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X500Name issuerName,
    BigInteger serialNumber)
{
    holder = new Holder(new IssuerSerial(
        new GeneralNames(new GeneralName(issuerName)),
        new ASN1Integer(serialNumber)));
}
项目:gwt-crypto    文件:AttributeCertificateHolder.java   
/**
 * Create a holder using the baseCertificateID element.
 *
 * @param issuerName name of associated certificate's issuer.
 * @param serialNumber serial number of associated certificate.
 */
public AttributeCertificateHolder(X500Name issuerName,
    BigInteger serialNumber)
{
    holder = new Holder(new IssuerSerial(
        generateGeneralNames(issuerName),
        new ASN1Integer(serialNumber)));
}
项目:Aki-SSL    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Principal issuerName,
    BigInteger serialNumber)
{
    holder = new org.bouncycastle.asn1.x509.Holder(new IssuerSerial(
        GeneralNames.getInstance(new DERSequence(new GeneralName(issuerName))),
        new ASN1Integer(serialNumber)));
}
项目:Aki-SSL    文件:AttributeCertificateHolder.java   
/**
 * Create a holder using the baseCertificateID element.
 *
 * @param issuerName name of associated certificate's issuer.
 * @param serialNumber serial number of associated certificate.
 */
public AttributeCertificateHolder(X500Name issuerName,
    BigInteger serialNumber)
{
    holder = new Holder(new IssuerSerial(
        generateGeneralNames(issuerName),
        new ASN1Integer(serialNumber)));
}
项目:AcademicTorrents-Downloader    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Principal issuerName,
    BigInteger serialNumber)
{
    holder = new org.bouncycastle.asn1.x509.Holder(new IssuerSerial(
        new GeneralNames(new DERSequence(new GeneralName(issuerName))),
        new DERInteger(serialNumber)));
}
项目:CryptMeme    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Principal issuerName,
    BigInteger serialNumber)
{
    holder = new org.bouncycastle.asn1.x509.Holder(new IssuerSerial(
        GeneralNames.getInstance(new DERSequence(new GeneralName(issuerName))),
        new ASN1Integer(serialNumber)));
}
项目:irma_future_id    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X500Name issuerName,
    BigInteger serialNumber)
{
    holder = new Holder(new IssuerSerial(
        new GeneralNames(new GeneralName(issuerName)),
        new ASN1Integer(serialNumber)));
}
项目:irma_future_id    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Principal issuerName,
    BigInteger serialNumber)
{
    holder = new org.bouncycastle.asn1.x509.Holder(new IssuerSerial(
        GeneralNames.getInstance(new DERSequence(new GeneralName(issuerName))),
        new ASN1Integer(serialNumber)));
}
项目:irma_future_id    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Principal issuerName,
    BigInteger serialNumber)
{
    holder = new org.bouncycastle.asn1.x509.Holder(new IssuerSerial(
        new GeneralNames(new GeneralName(issuerName)),
        new ASN1Integer(serialNumber)));
}
项目:irma_future_id    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Principal issuerName,
    BigInteger serialNumber)
{
    holder = new org.bouncycastle.asn1.x509.Holder(new IssuerSerial(
        new GeneralNames(new GeneralName(issuerName)),
        new ASN1Integer(serialNumber)));
}
项目:bc-java    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X500Name issuerName,
    BigInteger serialNumber)
{
    holder = new Holder(new IssuerSerial(
        new GeneralNames(new GeneralName(issuerName)),
        new ASN1Integer(serialNumber)));
}
项目:bc-java    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Principal issuerName,
    BigInteger serialNumber)
{
    holder = new org.bouncycastle.asn1.x509.Holder(new IssuerSerial(
        GeneralNames.getInstance(new DERSequence(new GeneralName(issuerName))),
        new ASN1Integer(serialNumber)));
}
项目:bc-java    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Principal issuerName,
    BigInteger serialNumber)
{
    holder = new org.bouncycastle.asn1.x509.Holder(new IssuerSerial(
        new GeneralNames(new GeneralName(issuerName)),
        new ASN1Integer(serialNumber)));
}
项目:bc-java    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Principal issuerName,
    BigInteger serialNumber)
{
    holder = new org.bouncycastle.asn1.x509.Holder(new IssuerSerial(
        new GeneralNames(new GeneralName(issuerName)),
        new ASN1Integer(serialNumber)));
}
项目:ipack    文件:AttributeCertificateHolder.java   
AttributeCertificateHolder(ASN1Sequence seq)
{
    holder = Holder.getInstance(seq);
}
项目:ipack    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Principal principal)
{
    holder = new Holder(generateGeneralNames(principal));
}
项目:ipack    文件:AttributeCertificateHolder.java   
AttributeCertificateHolder(ASN1Sequence seq)
{
    holder = Holder.getInstance(seq);
}
项目:ipack    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509CertificateHolder cert)
{
    holder = new Holder(new IssuerSerial(generateGeneralNames(cert.getIssuer()),
        new ASN1Integer(cert.getSerialNumber())));
}
项目:ipack    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X500Name principal)
{
    holder = new Holder(generateGeneralNames(principal));
}
项目:gwt-crypto    文件:AttributeCertificateHolder.java   
AttributeCertificateHolder(ASN1Sequence seq)
{
    holder = Holder.getInstance(seq);
}
项目:gwt-crypto    文件:AttributeCertificateHolder.java   
/**
 * Create a holder using the baseCertificateID option based on the passed in associated certificate,
 *
 * @param cert the certificate to be associated with this holder.
 */
public AttributeCertificateHolder(X509CertificateHolder cert)
{
    holder = new Holder(new IssuerSerial(generateGeneralNames(cert.getIssuer()),
        new ASN1Integer(cert.getSerialNumber())));
}
项目:Aki-SSL    文件:AttributeCertificateHolder.java   
AttributeCertificateHolder(ASN1Sequence seq)
{
    holder = Holder.getInstance(seq);
}
项目:Aki-SSL    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Principal principal)
{
    holder = new Holder(generateGeneralNames(principal));
}
项目:Aki-SSL    文件:AttributeCertificateHolder.java   
AttributeCertificateHolder(ASN1Sequence seq)
{
    holder = Holder.getInstance(seq);
}
项目:Aki-SSL    文件:AttributeCertificateHolder.java   
/**
 * Create a holder using the baseCertificateID option based on the passed in associated certificate,
 *
 * @param cert the certificate to be associated with this holder.
 */
public AttributeCertificateHolder(X509CertificateHolder cert)
{
    holder = new Holder(new IssuerSerial(generateGeneralNames(cert.getIssuer()),
        new ASN1Integer(cert.getSerialNumber())));
}
项目:AcademicTorrents-Downloader    文件:AttributeCertificateHolder.java   
AttributeCertificateHolder(ASN1Sequence seq)
{
    holder = Holder.getInstance(seq);
}
项目:AcademicTorrents-Downloader    文件:AttributeCertificateHolder.java   
public AttributeCertificateHolder(X509Principal principal)
{
    holder = new Holder(generateGeneralNames(principal));
}
项目:CryptMeme    文件:AttributeCertificateHolder.java   
AttributeCertificateHolder(ASN1Sequence seq)
{
    holder = Holder.getInstance(seq);
}