Class SignatureScheme

java.lang.Object
org.bouncycastle.tls.SignatureScheme

public class SignatureScheme extends Object
  • Field Details

  • Constructor Details

    • SignatureScheme

      public SignatureScheme()
  • Method Details

    • from

      public static int from(SignatureAndHashAlgorithm sigAndHashAlg)
    • from

      public static int from(short hashAlgorithm, short signatureAlgorithm)
    • getCryptoHashAlgorithm

      public static int getCryptoHashAlgorithm(int signatureScheme)
    • getCryptoHashAlgorithm

      public static int getCryptoHashAlgorithm(SignatureAndHashAlgorithm signatureAndHashAlgorithm)
    • getName

      public static String getName(int signatureScheme)
    • getNamedGroup

      public static int getNamedGroup(int signatureScheme)
      For TLS 1.3+ usage, some signature schemes are constrained to use a particular (NamedGroup. Not relevant for TLS 1.2 and below.
    • getRSAPSSCryptoHashAlgorithm

      public static int getRSAPSSCryptoHashAlgorithm(int signatureScheme)
      Deprecated.
    • getHashAlgorithm

      public static short getHashAlgorithm(int signatureScheme)
    • getSignatureAlgorithm

      public static short getSignatureAlgorithm(int signatureScheme)
    • getSignatureAndHashAlgorithm

      public static SignatureAndHashAlgorithm getSignatureAndHashAlgorithm(int signatureScheme)
    • getText

      public static String getText(int signatureScheme)
    • isPrivate

      public static boolean isPrivate(int signatureScheme)
    • isECDSA

      public static boolean isECDSA(int signatureScheme)
    • isRSAPSS

      public static boolean isRSAPSS(int signatureScheme)