类 LazyECPoint


  • public class LazyECPoint
    extends Object
    A wrapper around ECPoint that delays decoding of the point for as long as possible. This is useful because point encode/decode in Bouncy Castle is quite slow especially on Dalvik, as it often involves decompression/recompression.
    • 构造器概要

      构造器 
      构造器 说明
      LazyECPoint​(org.bouncycastle.math.ec.ECCurve curve, byte[] bits)  
      LazyECPoint​(org.bouncycastle.math.ec.ECPoint point)  
    • 构造器详细资料

      • LazyECPoint

        public LazyECPoint​(org.bouncycastle.math.ec.ECCurve curve,
                           byte[] bits)
      • LazyECPoint

        public LazyECPoint​(org.bouncycastle.math.ec.ECPoint point)
    • 方法详细资料

      • get

        public org.bouncycastle.math.ec.ECPoint get()
      • getDetachedPoint

        public org.bouncycastle.math.ec.ECPoint getDetachedPoint()
      • getEncoded

        public byte[] getEncoded()
      • isInfinity

        public boolean isInfinity()
      • timesPow2

        public org.bouncycastle.math.ec.ECPoint timesPow2​(int e)
      • getYCoord

        public org.bouncycastle.math.ec.ECFieldElement getYCoord()
      • getZCoords

        public org.bouncycastle.math.ec.ECFieldElement[] getZCoords()
      • isNormalized

        public boolean isNormalized()
      • isCompressed

        public boolean isCompressed()
      • multiply

        public org.bouncycastle.math.ec.ECPoint multiply​(BigInteger k)
      • subtract

        public org.bouncycastle.math.ec.ECPoint subtract​(org.bouncycastle.math.ec.ECPoint b)
      • isValid

        public boolean isValid()
      • scaleY

        public org.bouncycastle.math.ec.ECPoint scaleY​(org.bouncycastle.math.ec.ECFieldElement scale)
      • getXCoord

        public org.bouncycastle.math.ec.ECFieldElement getXCoord()
      • scaleX

        public org.bouncycastle.math.ec.ECPoint scaleX​(org.bouncycastle.math.ec.ECFieldElement scale)
      • equals

        public boolean equals​(org.bouncycastle.math.ec.ECPoint other)
      • negate

        public org.bouncycastle.math.ec.ECPoint negate()
      • threeTimes

        public org.bouncycastle.math.ec.ECPoint threeTimes()
      • getZCoord

        public org.bouncycastle.math.ec.ECFieldElement getZCoord​(int index)
      • getEncoded

        public byte[] getEncoded​(boolean compressed)
      • add

        public org.bouncycastle.math.ec.ECPoint add​(org.bouncycastle.math.ec.ECPoint b)
      • twicePlus

        public org.bouncycastle.math.ec.ECPoint twicePlus​(org.bouncycastle.math.ec.ECPoint b)
      • getCurve

        public org.bouncycastle.math.ec.ECCurve getCurve()
      • normalize

        public org.bouncycastle.math.ec.ECPoint normalize()
      • getY

        public org.bouncycastle.math.ec.ECFieldElement getY()
      • twice

        public org.bouncycastle.math.ec.ECPoint twice()
      • getAffineYCoord

        public org.bouncycastle.math.ec.ECFieldElement getAffineYCoord()
      • getAffineXCoord

        public org.bouncycastle.math.ec.ECFieldElement getAffineXCoord()
      • getX

        public org.bouncycastle.math.ec.ECFieldElement getX()
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object