Examples of SignatureSubpacket


Examples of org.bouncycastle.bcpg.SignatureSubpacket

        return vals;
    }

    public long getIssuerKeyID()
    {
        SignatureSubpacket    p = this.getSubpacket(SignatureSubpacketTags.ISSUER_KEY_ID);
       
        if (p == null)
        {
            return 0;
        }
View Full Code Here

Examples of org.bouncycastle.bcpg.SignatureSubpacket

        return ((IssuerKeyID)p).getKeyID();
    }
   
    public Date getSignatureCreationTime()
    {
        SignatureSubpacket    p = this.getSubpacket(SignatureSubpacketTags.CREATION_TIME);
       
        if (p == null)
        {
            return null;
        }
View Full Code Here

Examples of org.bouncycastle.bcpg.SignatureSubpacket

     *
     * @return seconds a signature is valid for.
     */
    public long getSignatureExpirationTime()
    {
        SignatureSubpacket    p = this.getSubpacket(SignatureSubpacketTags.EXPIRE_TIME);
       
        if (p == null)
        {
            return 0;
        }
View Full Code Here

Examples of org.bouncycastle.bcpg.SignatureSubpacket

     *
     * @return seconds a key is valid for.
     */
    public long getKeyExpirationTime()
    {
        SignatureSubpacket    p = this.getSubpacket(SignatureSubpacketTags.KEY_EXPIRE_TIME);
       
        if (p == null)
        {
            return 0;
        }
View Full Code Here

Examples of org.bouncycastle.bcpg.SignatureSubpacket

        return ((KeyExpirationTime)p).getTime();
    }
   
    public int[] getPreferredHashAlgorithms()
    {
        SignatureSubpacket    p = this.getSubpacket(SignatureSubpacketTags.PREFERRED_HASH_ALGS);
       
        if (p == null)
        {
            return null;
        }
View Full Code Here

Examples of org.bouncycastle.bcpg.SignatureSubpacket

        return ((PreferredAlgorithms)p).getPreferences();
    }
   
    public int[] getPreferredSymmetricAlgorithms()
    {
        SignatureSubpacket    p = this.getSubpacket(SignatureSubpacketTags.PREFERRED_SYM_ALGS);
       
        if (p == null)
        {
            return null;
        }
View Full Code Here

Examples of org.bouncycastle.bcpg.SignatureSubpacket

        return ((PreferredAlgorithms)p).getPreferences();
    }
   
    public int[] getPreferredCompressionAlgorithms()
    {
        SignatureSubpacket    p = this.getSubpacket(SignatureSubpacketTags.PREFERRED_COMP_ALGS);
       
        if (p == null)
        {
            return null;
        }
View Full Code Here

Examples of org.bouncycastle.bcpg.SignatureSubpacket

        return ((PreferredAlgorithms)p).getPreferences();
    }
   
    public int getKeyFlags()
    {
        SignatureSubpacket    p = this.getSubpacket(SignatureSubpacketTags.KEY_FLAGS);
       
        if (p == null)
        {
            return 0;
        }
View Full Code Here

Examples of org.bouncycastle.bcpg.SignatureSubpacket

        return ((KeyFlags)p).getFlags();
    }
   
    public String getSignerUserID()
    {
        SignatureSubpacket    p = this.getSubpacket(SignatureSubpacketTags.SIGNER_USER_ID);
       
        if (p == null)
        {
            return null;
        }
View Full Code Here

Examples of org.bouncycastle.bcpg.SignatureSubpacket

        return vals;
    }

    public long getIssuerKeyID()
    {
        SignatureSubpacket    p = this.getSubpacket(SignatureSubpacketTags.ISSUER_KEY_ID);
       
        if (p == null)
        {
            return 0;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.