Package com.hierynomus.sshj.secg
Class SecgUtils
java.lang.Object
com.hierynomus.sshj.secg.SecgUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ECPoint
getDecoded
(byte[] M, EllipticCurve curve) SECG 2.3.4 Octet String to ECPointprivate static int
getElementSize
(EllipticCurve curve) static byte[]
getEncoded
(ECPoint point, EllipticCurve curve) SECG 2.3.3 ECPoint to Octet Stringprivate static byte[]
stripLeadingZeroes
(byte[] bytes)
-
Constructor Details
-
SecgUtils
public SecgUtils()
-
-
Method Details
-
getDecoded
SECG 2.3.4 Octet String to ECPoint -
getEncoded
SECG 2.3.3 ECPoint to Octet String -
stripLeadingZeroes
private static byte[] stripLeadingZeroes(byte[] bytes) -
getElementSize
-