Package org.bouncycastle.bcpg.sig

Examples of org.bouncycastle.bcpg.sig.SignatureCreationTime


       int       type = tag & 0x7f;

       switch (type)
       {
       case CREATION_TIME:
               return new SignatureCreationTime(isCritical, data);
        case KEY_EXPIRE_TIME:
              return new KeyExpirationTime(isCritical, data);
        case EXPIRE_TIME:
              return new SignatureExpirationTime(isCritical, data);
       case REVOCABLE:
View Full Code Here


        ByteArrayOutputStream   sOut = new ByteArrayOutputStream();
        SignatureSubpacket[]    hPkts, unhPkts;

        if (!packetPresent(hashed, SignatureSubpacketTags.CREATION_TIME))
        {
            hPkts = insertSubpacket(hashed, new SignatureCreationTime(false, new Date()));
        }
        else
        {
            hPkts = hashed;
        }
View Full Code Here

     */
    public void setSignatureCreationTime(
        boolean isCritical,
        Date    date)
    {
        list.add(new SignatureCreationTime(isCritical, date));
    }
View Full Code Here

        int       type = tag & 0x7f;

        switch (type)
        {
        case CREATION_TIME:
            return new SignatureCreationTime(isCritical, data);
        case KEY_EXPIRE_TIME:
            return new KeyExpirationTime(isCritical, data);
        case EXPIRE_TIME:
            return new SignatureExpirationTime(isCritical, data);
        case REVOCABLE:
View Full Code Here

     * Note: this overrides the generation of a creation time when the signature is
     * generated.
     */
    public void setSignatureCreationTime(boolean isCritical, Date date)
    {
        list.add(new SignatureCreationTime(isCritical, date));
    }
View Full Code Here

        ByteArrayOutputStream   sOut = new ByteArrayOutputStream();
        SignatureSubpacket[]    hPkts, unhPkts;

        if (!packetPresent(hashed, SignatureSubpacketTags.CREATION_TIME))
        {
            hPkts = insertSubpacket(hashed, new SignatureCreationTime(false, new Date()));
        }
        else
        {
            hPkts = hashed;
        }
View Full Code Here

     */
    public void setSignatureCreationTime(
        boolean isCritical,
        Date    date)
    {
        list.add(new SignatureCreationTime(isCritical, date));
    }
View Full Code Here

        ByteArrayOutputStream   sOut = new ByteArrayOutputStream();
        SignatureSubpacket[]    hPkts, unhPkts;

        if (!packetPresent(hashed, SignatureSubpacketTags.CREATION_TIME))
        {
            hPkts = insertSubpacket(hashed, new SignatureCreationTime(false, new Date()));
        }
        else
        {
            hPkts = hashed;
        }
View Full Code Here

TOP

Related Classes of org.bouncycastle.bcpg.sig.SignatureCreationTime

Copyright © 2018 www.massapicom. 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.