Class SecgUtils

java.lang.Object
com.hierynomus.sshj.secg.SecgUtils

public class SecgUtils extends Object
  • Constructor Details

    • SecgUtils

      public SecgUtils()
  • Method Details

    • getDecoded

      public static ECPoint getDecoded(byte[] M, EllipticCurve curve)
      SECG 2.3.4 Octet String to ECPoint
    • getEncoded

      public static byte[] getEncoded(ECPoint point, EllipticCurve curve)
      SECG 2.3.3 ECPoint to Octet String
    • stripLeadingZeroes

      private static byte[] stripLeadingZeroes(byte[] bytes)
    • getElementSize

      private static int getElementSize(EllipticCurve curve)