Java 类org.bouncycastle.asn1.crmf.CertId 实例源码

项目:ipack    文件:OOBCertHash.java   
private OOBCertHash(ASN1Sequence seq)
{
    int index = seq.size() - 1;

    hashVal = DERBitString.getInstance(seq.getObjectAt(index--));

    for (int i = index; i >= 0; i--)
    {
        ASN1TaggedObject tObj = (ASN1TaggedObject)seq.getObjectAt(i);

        if (tObj.getTagNo() == 0)
        {
            hashAlg = AlgorithmIdentifier.getInstance(tObj, true);
        }
        else
        {
            certId = CertId.getInstance(tObj, true);
        }
    }

}
项目:ipack    文件:RevRepContent.java   
public CertId[] getRevCerts()
{
    if (revCerts == null)
    {
        return null;
    }

    CertId[] results = new CertId[revCerts.size()];

    for (int i = 0; i != results.length; i++)
    {
        results[i] = CertId.getInstance(revCerts.getObjectAt(i));
    }

    return results;
}
项目:gwt-crypto    文件:OOBCertHash.java   
private OOBCertHash(ASN1Sequence seq)
{
    int index = seq.size() - 1;

    hashVal = DERBitString.getInstance(seq.getObjectAt(index--));

    for (int i = index; i >= 0; i--)
    {
        ASN1TaggedObject tObj = (ASN1TaggedObject)seq.getObjectAt(i);

        if (tObj.getTagNo() == 0)
        {
            hashAlg = AlgorithmIdentifier.getInstance(tObj, true);
        }
        else
        {
            certId = CertId.getInstance(tObj, true);
        }
    }

}
项目:gwt-crypto    文件:RevRepContent.java   
public CertId[] getRevCerts()
{
    if (revCerts == null)
    {
        return null;
    }

    CertId[] results = new CertId[revCerts.size()];

    for (int i = 0; i != results.length; i++)
    {
        results[i] = CertId.getInstance(revCerts.getObjectAt(i));
    }

    return results;
}
项目:Aki-SSL    文件:OOBCertHash.java   
private OOBCertHash(ASN1Sequence seq)
{
    int index = seq.size() - 1;

    hashVal = DERBitString.getInstance(seq.getObjectAt(index--));

    for (int i = index; i >= 0; i--)
    {
        ASN1TaggedObject tObj = (ASN1TaggedObject)seq.getObjectAt(i);

        if (tObj.getTagNo() == 0)
        {
            hashAlg = AlgorithmIdentifier.getInstance(tObj, true);
        }
        else
        {
            certId = CertId.getInstance(tObj, true);
        }
    }

}
项目:Aki-SSL    文件:RevRepContent.java   
public CertId[] getRevCerts()
{
    if (revCerts == null)
    {
        return null;
    }

    CertId[] results = new CertId[revCerts.size()];

    for (int i = 0; i != results.length; i++)
    {
        results[i] = CertId.getInstance(revCerts.getObjectAt(i));
    }

    return results;
}
项目:TinyTravelTracker    文件:OOBCertHash.java   
private OOBCertHash(ASN1Sequence seq)
{
    int index = seq.size() - 1;

    hashVal = DERBitString.getInstance(seq.getObjectAt(index--));

    for (int i = index; i >= 0; i--)
    {
        ASN1TaggedObject tObj = (ASN1TaggedObject)seq.getObjectAt(i);

        if (tObj.getTagNo() == 0)
        {
            hashAlg = AlgorithmIdentifier.getInstance(tObj, true);
        }
        else
        {
            certId = CertId.getInstance(tObj, true);
        }
    }

}
项目:TinyTravelTracker    文件:RevRepContent.java   
public CertId[] getRevCerts()
{
    if (revCerts == null)
    {
        return null;
    }

    CertId[] results = new CertId[revCerts.size()];

    for (int i = 0; i != results.length; i++)
    {
        results[i] = CertId.getInstance(revCerts.getObjectAt(i));
    }

    return results;
}
项目:CryptMeme    文件:OOBCertHash.java   
private OOBCertHash(ASN1Sequence seq)
{
    int index = seq.size() - 1;

    hashVal = DERBitString.getInstance(seq.getObjectAt(index--));

    for (int i = index; i >= 0; i--)
    {
        ASN1TaggedObject tObj = (ASN1TaggedObject)seq.getObjectAt(i);

        if (tObj.getTagNo() == 0)
        {
            hashAlg = AlgorithmIdentifier.getInstance(tObj, true);
        }
        else
        {
            certId = CertId.getInstance(tObj, true);
        }
    }

}
项目:CryptMeme    文件:RevRepContent.java   
public CertId[] getRevCerts()
{
    if (revCerts == null)
    {
        return null;
    }

    CertId[] results = new CertId[revCerts.size()];

    for (int i = 0; i != results.length; i++)
    {
        results[i] = CertId.getInstance(revCerts.getObjectAt(i));
    }

    return results;
}
项目:irma_future_id    文件:OOBCertHash.java   
private OOBCertHash(ASN1Sequence seq)
{
    int index = seq.size() - 1;

    hashVal = DERBitString.getInstance(seq.getObjectAt(index--));

    for (int i = index; i >= 0; i--)
    {
        ASN1TaggedObject tObj = (ASN1TaggedObject)seq.getObjectAt(i);

        if (tObj.getTagNo() == 0)
        {
            hashAlg = AlgorithmIdentifier.getInstance(tObj, true);
        }
        else
        {
            certId = CertId.getInstance(tObj, true);
        }
    }

}
项目:irma_future_id    文件:RevRepContent.java   
public CertId[] getRevCerts()
{
    if (revCerts == null)
    {
        return null;
    }

    CertId[] results = new CertId[revCerts.size()];

    for (int i = 0; i != results.length; i++)
    {
        results[i] = CertId.getInstance(revCerts.getObjectAt(i));
    }

    return results;
}
项目:bc-java    文件:OOBCertHash.java   
private OOBCertHash(ASN1Sequence seq)
{
    int index = seq.size() - 1;

    hashVal = DERBitString.getInstance(seq.getObjectAt(index--));

    for (int i = index; i >= 0; i--)
    {
        ASN1TaggedObject tObj = (ASN1TaggedObject)seq.getObjectAt(i);

        if (tObj.getTagNo() == 0)
        {
            hashAlg = AlgorithmIdentifier.getInstance(tObj, true);
        }
        else
        {
            certId = CertId.getInstance(tObj, true);
        }
    }

}
项目:bc-java    文件:RevRepContent.java   
public CertId[] getRevCerts()
{
    if (revCerts == null)
    {
        return null;
    }

    CertId[] results = new CertId[revCerts.size()];

    for (int i = 0; i != results.length; i++)
    {
        results[i] = CertId.getInstance(revCerts.getObjectAt(i));
    }

    return results;
}
项目:ipack    文件:RevRepContentBuilder.java   
public RevRepContentBuilder add(PKIStatusInfo status, CertId certId)
{
    if (this.status.size() != this.revCerts.size())
    {
        throw new IllegalStateException("status and revCerts sequence must be in common order");
    }
    this.status.add(status);
    this.revCerts.add(certId);

    return this;
}
项目:ipack    文件:RevAnnContent.java   
private RevAnnContent(ASN1Sequence seq)
{
    status = PKIStatus.getInstance(seq.getObjectAt(0));
    certId = CertId.getInstance(seq.getObjectAt(1));
    willBeRevokedAt = ASN1GeneralizedTime.getInstance(seq.getObjectAt(2));
    badSinceDate = ASN1GeneralizedTime.getInstance(seq.getObjectAt(3));

    if (seq.size() > 4)
    {
        crlDetails = Extensions.getInstance(seq.getObjectAt(4));
    }
}
项目:gwt-crypto    文件:RevRepContentBuilder.java   
public RevRepContentBuilder add(PKIStatusInfo status, CertId certId)
{
    if (this.status.size() != this.revCerts.size())
    {
        throw new IllegalStateException("status and revCerts sequence must be in common order");
    }
    this.status.add(status);
    this.revCerts.add(certId);

    return this;
}
项目:gwt-crypto    文件:RevAnnContent.java   
private RevAnnContent(ASN1Sequence seq)
{
    status = PKIStatus.getInstance(seq.getObjectAt(0));
    certId = CertId.getInstance(seq.getObjectAt(1));
    willBeRevokedAt = ASN1GeneralizedTime.getInstance(seq.getObjectAt(2));
    badSinceDate = ASN1GeneralizedTime.getInstance(seq.getObjectAt(3));

    if (seq.size() > 4)
    {
        crlDetails = Extensions.getInstance(seq.getObjectAt(4));
    }
}
项目:Aki-SSL    文件:RevRepContentBuilder.java   
public RevRepContentBuilder add(PKIStatusInfo status, CertId certId)
{
    if (this.status.size() != this.revCerts.size())
    {
        throw new IllegalStateException("status and revCerts sequence must be in common order");
    }
    this.status.add(status);
    this.revCerts.add(certId);

    return this;
}
项目:Aki-SSL    文件:RevAnnContent.java   
private RevAnnContent(ASN1Sequence seq)
{
    status = PKIStatus.getInstance(seq.getObjectAt(0));
    certId = CertId.getInstance(seq.getObjectAt(1));
    willBeRevokedAt = ASN1GeneralizedTime.getInstance(seq.getObjectAt(2));
    badSinceDate = ASN1GeneralizedTime.getInstance(seq.getObjectAt(3));

    if (seq.size() > 4)
    {
        crlDetails = Extensions.getInstance(seq.getObjectAt(4));
    }
}
项目:TinyTravelTracker    文件:RevRepContentBuilder.java   
public RevRepContentBuilder add(PKIStatusInfo status, CertId certId)
{
    if (this.status.size() != this.revCerts.size())
    {
        throw new IllegalStateException("status and revCerts sequence must be in common order");
    }
    this.status.add(status);
    this.revCerts.add(certId);

    return this;
}
项目:TinyTravelTracker    文件:RevAnnContent.java   
private RevAnnContent(ASN1Sequence seq)
{
    status = PKIStatus.getInstance(seq.getObjectAt(0));
    certId = CertId.getInstance(seq.getObjectAt(1));
    willBeRevokedAt = ASN1GeneralizedTime.getInstance(seq.getObjectAt(2));
    badSinceDate = ASN1GeneralizedTime.getInstance(seq.getObjectAt(3));

    if (seq.size() > 4)
    {
        crlDetails = Extensions.getInstance(seq.getObjectAt(4));
    }
}
项目:CryptMeme    文件:RevRepContentBuilder.java   
public RevRepContentBuilder add(PKIStatusInfo status, CertId certId)
{
    if (this.status.size() != this.revCerts.size())
    {
        throw new IllegalStateException("status and revCerts sequence must be in common order");
    }
    this.status.add(status);
    this.revCerts.add(certId);

    return this;
}
项目:CryptMeme    文件:RevAnnContent.java   
private RevAnnContent(ASN1Sequence seq)
{
    status = PKIStatus.getInstance(seq.getObjectAt(0));
    certId = CertId.getInstance(seq.getObjectAt(1));
    willBeRevokedAt = ASN1GeneralizedTime.getInstance(seq.getObjectAt(2));
    badSinceDate = ASN1GeneralizedTime.getInstance(seq.getObjectAt(3));

    if (seq.size() > 4)
    {
        crlDetails = Extensions.getInstance(seq.getObjectAt(4));
    }
}
项目:irma_future_id    文件:RevRepContentBuilder.java   
public RevRepContentBuilder add(PKIStatusInfo status, CertId certId)
{
    if (this.status.size() != this.revCerts.size())
    {
        throw new IllegalStateException("status and revCerts sequence must be in common order");
    }
    this.status.add(status);
    this.revCerts.add(certId);

    return this;
}
项目:irma_future_id    文件:RevAnnContent.java   
private RevAnnContent(ASN1Sequence seq)
{
    status = PKIStatus.getInstance(seq.getObjectAt(0));
    certId = CertId.getInstance(seq.getObjectAt(1));
    willBeRevokedAt = ASN1GeneralizedTime.getInstance(seq.getObjectAt(2));
    badSinceDate = ASN1GeneralizedTime.getInstance(seq.getObjectAt(3));

    if (seq.size() > 4)
    {
        crlDetails = Extensions.getInstance(seq.getObjectAt(4));
    }
}
项目:bc-java    文件:RevRepContentBuilder.java   
public RevRepContentBuilder add(PKIStatusInfo status, CertId certId)
{
    if (this.status.size() != this.revCerts.size())
    {
        throw new IllegalStateException("status and revCerts sequence must be in common order");
    }
    this.status.add(status);
    this.revCerts.add(certId);

    return this;
}
项目:bc-java    文件:RevAnnContent.java   
private RevAnnContent(ASN1Sequence seq)
{
    status = PKIStatus.getInstance(seq.getObjectAt(0));
    certId = CertId.getInstance(seq.getObjectAt(1));
    willBeRevokedAt = ASN1GeneralizedTime.getInstance(seq.getObjectAt(2));
    badSinceDate = ASN1GeneralizedTime.getInstance(seq.getObjectAt(3));

    if (seq.size() > 4)
    {
        crlDetails = Extensions.getInstance(seq.getObjectAt(4));
    }
}
项目:ipack    文件:OOBCertHash.java   
public OOBCertHash(AlgorithmIdentifier hashAlg, CertId certId, byte[] hashVal)
{
    this(hashAlg, certId, new DERBitString(hashVal));
}
项目:ipack    文件:OOBCertHash.java   
public OOBCertHash(AlgorithmIdentifier hashAlg, CertId certId, DERBitString hashVal)
{
    this.hashAlg = hashAlg;
    this.certId = certId;
    this.hashVal = hashVal;
}
项目:ipack    文件:OOBCertHash.java   
public CertId getCertId()
{
    return certId;
}
项目:ipack    文件:RevAnnContent.java   
public CertId getCertId()
{
    return certId;
}
项目:gwt-crypto    文件:OOBCertHash.java   
public OOBCertHash(AlgorithmIdentifier hashAlg, CertId certId, byte[] hashVal)
{
    this(hashAlg, certId, new DERBitString(hashVal));
}
项目:gwt-crypto    文件:OOBCertHash.java   
public OOBCertHash(AlgorithmIdentifier hashAlg, CertId certId, DERBitString hashVal)
{
    this.hashAlg = hashAlg;
    this.certId = certId;
    this.hashVal = hashVal;
}
项目:gwt-crypto    文件:OOBCertHash.java   
public CertId getCertId()
{
    return certId;
}
项目:gwt-crypto    文件:RevAnnContent.java   
public CertId getCertId()
{
    return certId;
}
项目:Aki-SSL    文件:OOBCertHash.java   
public OOBCertHash(AlgorithmIdentifier hashAlg, CertId certId, byte[] hashVal)
{
    this(hashAlg, certId, new DERBitString(hashVal));
}
项目:Aki-SSL    文件:OOBCertHash.java   
public OOBCertHash(AlgorithmIdentifier hashAlg, CertId certId, DERBitString hashVal)
{
    this.hashAlg = hashAlg;
    this.certId = certId;
    this.hashVal = hashVal;
}
项目:Aki-SSL    文件:OOBCertHash.java   
public CertId getCertId()
{
    return certId;
}
项目:Aki-SSL    文件:RevAnnContent.java   
public CertId getCertId()
{
    return certId;
}