Package org.bouncycastle.bcpg.sig

## Class SignatureCreationTime

- java.lang.Object
- - org.bouncycastle.bcpg.SignatureSubpacket
  - - org.bouncycastle.bcpg.sig.SignatureCreationTime

-     public class SignatureCreationTime
      extends SignatureSubpacket

  packet giving signature creation time.

- - ### Field Summary

    - ### Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket

      `data`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SignatureCreationTime​(boolean critical, boolean isLongLength, byte[] data)` |
    `SignatureCreationTime​(boolean critical, java.util.Date date)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Date` | `getTime()` |
    `protected static byte[]` | `timeToBytes​(java.util.Date date)` |

    - ### Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket

      `encode, equals, getData, getType, hashCode, isCritical, isLongLength`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SignatureCreationTime

          public SignatureCreationTime​(boolean critical,
                                       boolean isLongLength,
                                       byte[] data)

    - #### SignatureCreationTime

          public SignatureCreationTime​(boolean critical,
                                       java.util.Date date)

  - ### Method Detail

    - #### timeToBytes

          protected static byte[] timeToBytes​(java.util.Date date)

    - #### getTime

          public java.util.Date getTime()