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

项目:ipack    文件:CertifiedKeyPair.java   
private CertifiedKeyPair(ASN1Sequence seq)
{
    certOrEncCert = CertOrEncCert.getInstance(seq.getObjectAt(0));

    if (seq.size() >= 2)
    {
        if (seq.size() == 2)
        {
            ASN1TaggedObject tagged = ASN1TaggedObject.getInstance(seq.getObjectAt(1));
            if (tagged.getTagNo() == 0)
            {
                privateKey = EncryptedValue.getInstance(tagged.getObject());
            }
            else
            {
                publicationInfo = PKIPublicationInfo.getInstance(tagged.getObject());
            }
        }
        else
        {
            privateKey = EncryptedValue.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(1)));
            publicationInfo = PKIPublicationInfo.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(2)));
        }
    }
}
项目:gwt-crypto    文件:CertifiedKeyPair.java   
private CertifiedKeyPair(ASN1Sequence seq)
{
    certOrEncCert = CertOrEncCert.getInstance(seq.getObjectAt(0));

    if (seq.size() >= 2)
    {
        if (seq.size() == 2)
        {
            ASN1TaggedObject tagged = ASN1TaggedObject.getInstance(seq.getObjectAt(1));
            if (tagged.getTagNo() == 0)
            {
                privateKey = EncryptedValue.getInstance(tagged.getObject());
            }
            else
            {
                publicationInfo = PKIPublicationInfo.getInstance(tagged.getObject());
            }
        }
        else
        {
            privateKey = EncryptedValue.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(1)));
            publicationInfo = PKIPublicationInfo.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(2)));
        }
    }
}
项目:Aki-SSL    文件:CertifiedKeyPair.java   
private CertifiedKeyPair(ASN1Sequence seq)
{
    certOrEncCert = CertOrEncCert.getInstance(seq.getObjectAt(0));

    if (seq.size() >= 2)
    {
        if (seq.size() == 2)
        {
            ASN1TaggedObject tagged = ASN1TaggedObject.getInstance(seq.getObjectAt(1));
            if (tagged.getTagNo() == 0)
            {
                privateKey = EncryptedValue.getInstance(tagged.getObject());
            }
            else
            {
                publicationInfo = PKIPublicationInfo.getInstance(tagged.getObject());
            }
        }
        else
        {
            privateKey = EncryptedValue.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(1)));
            publicationInfo = PKIPublicationInfo.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(2)));
        }
    }
}
项目:TinyTravelTracker    文件:CertifiedKeyPair.java   
private CertifiedKeyPair(ASN1Sequence seq)
{
    certOrEncCert = CertOrEncCert.getInstance(seq.getObjectAt(0));

    if (seq.size() >= 2)
    {
        if (seq.size() == 2)
        {
            ASN1TaggedObject tagged = ASN1TaggedObject.getInstance(seq.getObjectAt(1));
            if (tagged.getTagNo() == 0)
            {
                privateKey = EncryptedValue.getInstance(tagged.getObject());
            }
            else
            {
                publicationInfo = PKIPublicationInfo.getInstance(tagged.getObject());
            }
        }
        else
        {
            privateKey = EncryptedValue.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(1)));
            publicationInfo = PKIPublicationInfo.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(2)));
        }
    }
}
项目:CryptMeme    文件:CertifiedKeyPair.java   
private CertifiedKeyPair(ASN1Sequence seq)
{
    certOrEncCert = CertOrEncCert.getInstance(seq.getObjectAt(0));

    if (seq.size() >= 2)
    {
        if (seq.size() == 2)
        {
            ASN1TaggedObject tagged = ASN1TaggedObject.getInstance(seq.getObjectAt(1));
            if (tagged.getTagNo() == 0)
            {
                privateKey = EncryptedValue.getInstance(tagged.getObject());
            }
            else
            {
                publicationInfo = PKIPublicationInfo.getInstance(tagged.getObject());
            }
        }
        else
        {
            privateKey = EncryptedValue.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(1)));
            publicationInfo = PKIPublicationInfo.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(2)));
        }
    }
}
项目:irma_future_id    文件:CertifiedKeyPair.java   
private CertifiedKeyPair(ASN1Sequence seq)
{
    certOrEncCert = CertOrEncCert.getInstance(seq.getObjectAt(0));

    if (seq.size() >= 2)
    {
        if (seq.size() == 2)
        {
            ASN1TaggedObject tagged = ASN1TaggedObject.getInstance(seq.getObjectAt(1));
            if (tagged.getTagNo() == 0)
            {
                privateKey = EncryptedValue.getInstance(tagged.getObject());
            }
            else
            {
                publicationInfo = PKIPublicationInfo.getInstance(tagged.getObject());
            }
        }
        else
        {
            privateKey = EncryptedValue.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(1)));
            publicationInfo = PKIPublicationInfo.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(2)));
        }
    }
}
项目:bc-java    文件:CertifiedKeyPair.java   
private CertifiedKeyPair(ASN1Sequence seq)
{
    certOrEncCert = CertOrEncCert.getInstance(seq.getObjectAt(0));

    if (seq.size() >= 2)
    {
        if (seq.size() == 2)
        {
            ASN1TaggedObject tagged = ASN1TaggedObject.getInstance(seq.getObjectAt(1));
            if (tagged.getTagNo() == 0)
            {
                privateKey = EncryptedValue.getInstance(tagged.getObject());
            }
            else
            {
                publicationInfo = PKIPublicationInfo.getInstance(tagged.getObject());
            }
        }
        else
        {
            privateKey = EncryptedValue.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(1)));
            publicationInfo = PKIPublicationInfo.getInstance(ASN1TaggedObject.getInstance(seq.getObjectAt(2)));
        }
    }
}
项目:ipack    文件:CertifiedKeyPair.java   
public CertifiedKeyPair(
    CertOrEncCert certOrEncCert,
    EncryptedValue privateKey,
    PKIPublicationInfo  publicationInfo
    )
{
    if (certOrEncCert == null)
    {
        throw new IllegalArgumentException("'certOrEncCert' cannot be null");
    }

    this.certOrEncCert = certOrEncCert;
    this.privateKey = privateKey;
    this.publicationInfo = publicationInfo;
}
项目:gwt-crypto    文件:CertifiedKeyPair.java   
public CertifiedKeyPair(
    CertOrEncCert certOrEncCert,
    EncryptedValue privateKey,
    PKIPublicationInfo  publicationInfo
    )
{
    if (certOrEncCert == null)
    {
        throw new IllegalArgumentException("'certOrEncCert' cannot be null");
    }

    this.certOrEncCert = certOrEncCert;
    this.privateKey = privateKey;
    this.publicationInfo = publicationInfo;
}
项目:Aki-SSL    文件:CertifiedKeyPair.java   
public CertifiedKeyPair(
    CertOrEncCert certOrEncCert,
    EncryptedValue privateKey,
    PKIPublicationInfo  publicationInfo
    )
{
    if (certOrEncCert == null)
    {
        throw new IllegalArgumentException("'certOrEncCert' cannot be null");
    }

    this.certOrEncCert = certOrEncCert;
    this.privateKey = privateKey;
    this.publicationInfo = publicationInfo;
}
项目:TinyTravelTracker    文件:CertifiedKeyPair.java   
public CertifiedKeyPair(
    CertOrEncCert certOrEncCert,
    EncryptedValue privateKey,
    PKIPublicationInfo  publicationInfo
    )
{
    if (certOrEncCert == null)
    {
        throw new IllegalArgumentException("'certOrEncCert' cannot be null");
    }

    this.certOrEncCert = certOrEncCert;
    this.privateKey = privateKey;
    this.publicationInfo = publicationInfo;
}
项目:CryptMeme    文件:CertifiedKeyPair.java   
public CertifiedKeyPair(
    CertOrEncCert certOrEncCert,
    EncryptedValue privateKey,
    PKIPublicationInfo  publicationInfo
    )
{
    if (certOrEncCert == null)
    {
        throw new IllegalArgumentException("'certOrEncCert' cannot be null");
    }

    this.certOrEncCert = certOrEncCert;
    this.privateKey = privateKey;
    this.publicationInfo = publicationInfo;
}
项目:irma_future_id    文件:CertifiedKeyPair.java   
public CertifiedKeyPair(
    CertOrEncCert certOrEncCert,
    EncryptedValue privateKey,
    PKIPublicationInfo  publicationInfo
    )
{
    if (certOrEncCert == null)
    {
        throw new IllegalArgumentException("'certOrEncCert' cannot be null");
    }

    this.certOrEncCert = certOrEncCert;
    this.privateKey = privateKey;
    this.publicationInfo = publicationInfo;
}
项目:bc-java    文件:CertifiedKeyPair.java   
public CertifiedKeyPair(
    CertOrEncCert certOrEncCert,
    EncryptedValue privateKey,
    PKIPublicationInfo  publicationInfo
    )
{
    if (certOrEncCert == null)
    {
        throw new IllegalArgumentException("'certOrEncCert' cannot be null");
    }

    this.certOrEncCert = certOrEncCert;
    this.privateKey = privateKey;
    this.publicationInfo = publicationInfo;
}
项目:ipack    文件:CertifiedKeyPair.java   
public PKIPublicationInfo getPublicationInfo()
{
    return publicationInfo;
}
项目:gwt-crypto    文件:CertifiedKeyPair.java   
public PKIPublicationInfo getPublicationInfo()
{
    return publicationInfo;
}
项目:Aki-SSL    文件:CertifiedKeyPair.java   
public PKIPublicationInfo getPublicationInfo()
{
    return publicationInfo;
}
项目:TinyTravelTracker    文件:CertifiedKeyPair.java   
public PKIPublicationInfo getPublicationInfo()
{
    return publicationInfo;
}
项目:CryptMeme    文件:CertifiedKeyPair.java   
public PKIPublicationInfo getPublicationInfo()
{
    return publicationInfo;
}
项目:irma_future_id    文件:CertifiedKeyPair.java   
public PKIPublicationInfo getPublicationInfo()
{
    return publicationInfo;
}
项目:bc-java    文件:CertifiedKeyPair.java   
public PKIPublicationInfo getPublicationInfo()
{
    return publicationInfo;
}