Class SecgUtils


  • public class SecgUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SecgUtils()  
    • Method Summary

      Modifier and Type Method Description
      static java.security.spec.ECPoint getDecoded​(byte[] M, java.security.spec.EllipticCurve curve)
      SECG 2.3.4 Octet String to ECPoint
      static byte[] getEncoded​(java.security.spec.ECPoint point, java.security.spec.EllipticCurve curve)
      SECG 2.3.3 ECPoint to Octet String
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SecgUtils

        public SecgUtils()
    • Method Detail

      • getDecoded

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

        public static byte[] getEncoded​(java.security.spec.ECPoint point,
                                        java.security.spec.EllipticCurve curve)
        SECG 2.3.3 ECPoint to Octet String