Java 类org.bouncycastle.asn1.eac.CertificateBody 实例源码

项目:ipack    文件:EACCertificateBuilder.java   
public EACCertificateHolder build(EACSigner signer)
    throws EACException
{
    try
    {
        CertificateBody body = buildBody();

        OutputStream vOut = signer.getOutputStream();

        vOut.write(body.getEncoded(ASN1Encoding.DER));

        vOut.close();

        return new EACCertificateHolder(new CVCertificate(body, signer.getSignature()));
    }
    catch (Exception e)
    {
        throw new EACException("unable to process signature: " + e.getMessage(), e);
    }
}
项目:gwt-crypto    文件:EACCertificateBuilder.java   
public EACCertificateHolder build(EACSigner signer)
    throws EACException
{
    try
    {
        CertificateBody body = buildBody();

        OutputStream vOut = signer.getOutputStream();

        vOut.write(body.getEncoded(ASN1Encoding.DER));

        vOut.close();

        return new EACCertificateHolder(new CVCertificate(body, signer.getSignature()));
    }
    catch (Exception e)
    {
        throw new EACException("unable to process signature: " + e.getMessage(), e);
    }
}
项目:Aki-SSL    文件:EACCertificateBuilder.java   
public EACCertificateHolder build(EACSigner signer)
    throws EACException
{
    try
    {
        CertificateBody body = buildBody();

        OutputStream vOut = signer.getOutputStream();

        vOut.write(body.getEncoded(ASN1Encoding.DER));

        vOut.close();

        return new EACCertificateHolder(new CVCertificate(body, signer.getSignature()));
    }
    catch (Exception e)
    {
        throw new EACException("unable to process signature: " + e.getMessage(), e);
    }
}
项目:irma_future_id    文件:EACCertificateBuilder.java   
public EACCertificateHolder build(EACSigner signer)
    throws EACException
{
    try
    {
        CertificateBody body = buildBody();

        OutputStream vOut = signer.getOutputStream();

        vOut.write(body.getEncoded(ASN1Encoding.DER));

        vOut.close();

        return new EACCertificateHolder(new CVCertificate(body, signer.getSignature()));
    }
    catch (Exception e)
    {
        throw new EACException("unable to process signature: " + e.getMessage(), e);
    }
}
项目:bc-java    文件:EACCertificateBuilder.java   
public EACCertificateHolder build(EACSigner signer)
    throws EACException
{
    try
    {
        CertificateBody body = buildBody();

        OutputStream vOut = signer.getOutputStream();

        vOut.write(body.getEncoded(ASN1Encoding.DER));

        vOut.close();

        return new EACCertificateHolder(new CVCertificate(body, signer.getSignature()));
    }
    catch (Exception e)
    {
        throw new EACException("unable to process signature: " + e.getMessage(), e);
    }
}