Package org.dashj.bls

Class G1Element


  • public class G1Element
    extends Object
    • Field Detail

      • swigCMemOwn

        protected transient boolean swigCMemOwn
      • SIZE

        public static final int SIZE
    • Constructor Detail

      • G1Element

        protected G1Element​(long cPtr,
                            boolean cMemoryOwn)
      • G1Element

        public G1Element()
      • G1Element

        public G1Element​(G1Element other)
    • Method Detail

      • getCPtr

        protected static long getCPtr​(G1Element obj)
      • finalize

        protected void finalize()
        Overrides:
        finalize in class Object
      • delete

        public void delete()
      • fromBytes

        public static G1Element fromBytes​(byte[] bytes,
                                          boolean fLegacy)
      • fromBytes

        public static G1Element fromBytes​(byte[] bytes)
      • fromBytesUnchecked

        public static G1Element fromBytesUnchecked​(byte[] bytes,
                                                   boolean fLegacy)
      • fromBytesUnchecked

        public static G1Element fromBytesUnchecked​(byte[] bytes)
      • fromMessage

        public static G1Element fromMessage​(byte[] message,
                                            byte[] dst,
                                            int dst_len)
      • generator

        public static G1Element generator()
      • isValid

        public boolean isValid()
      • checkValid

        public void checkValid()
      • getFingerprint

        public long getFingerprint​(boolean fLegacy)
      • getFingerprint

        public long getFingerprint()
      • serialize

        public byte[] serialize​(boolean fLegacy)
      • serialize

        public byte[] serialize()