Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.asn1.ua
Class DSTU4145PointEncoder

java.lang.Object
  |
  +--org.bouncycastle.asn1.ua.DSTU4145PointEncoder

public abstract class DSTU4145PointEncoder
extends java.lang.Object

DSTU4145 encodes points somewhat differently than X9.62 It compresses the point to the size of the field element


Constructor Summary
DSTU4145PointEncoder()
           
 
Method Summary
static org.bouncycastle.math.ec.ECPoint decodePoint(org.bouncycastle.math.ec.ECCurve curve, byte[] bytes)
           
static byte[] encodePoint(org.bouncycastle.math.ec.ECPoint Q)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSTU4145PointEncoder

public DSTU4145PointEncoder()
Method Detail

encodePoint

public static byte[] encodePoint(org.bouncycastle.math.ec.ECPoint Q)

decodePoint

public static org.bouncycastle.math.ec.ECPoint decodePoint(org.bouncycastle.math.ec.ECCurve curve,
                                                           byte[] bytes)

Bouncy Castle Cryptography Library 1.77.0