Package org.bouncycastle.bcpg.sig

## Class PreferredAlgorithms

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

-     public class PreferredAlgorithms
      extends SignatureSubpacket

  packet giving signature creation time.

- - ### Field Summary

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

      `data`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `PreferredAlgorithms​(int type, boolean critical, boolean isLongLength, byte[] data)` |
    `PreferredAlgorithms​(int type, boolean critical, int[] preferences)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int[]` | `getPreferences()` |

    - ### 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

    - #### PreferredAlgorithms

          public PreferredAlgorithms​(int type,
                                     boolean critical,
                                     boolean isLongLength,
                                     byte[] data)

    - #### PreferredAlgorithms

          public PreferredAlgorithms​(int type,
                                     boolean critical,
                                     int[] preferences)

  - ### Method Detail

    - #### getPreferences

          public int[] getPreferences()