Class EccP256CurvePoint

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.oer.its.ieee1609dot2.basetypes.EccCurvePoint
org.bouncycastle.oer.its.ieee1609dot2.basetypes.EccP256CurvePoint
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice, org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class EccP256CurvePoint extends EccCurvePoint implements org.bouncycastle.asn1.ASN1Choice
EccP256CurvePoint ::= CHOICE { x-only OCTET STRING (SIZE (32)), fill NULL, compressed-y-0 OCTET STRING (SIZE (32)), compressed-y-1 OCTET STRING (SIZE (32)), uncompressedP256 SEQUENCE { x OCTET STRING (SIZE (32)), y OCTET STRING (SIZE (32)) } }
  • Field Details

  • Constructor Details

    • EccP256CurvePoint

      public EccP256CurvePoint(int choice, org.bouncycastle.asn1.ASN1Encodable value)
  • Method Details

    • xOnly

      public static EccP256CurvePoint xOnly(org.bouncycastle.asn1.ASN1OctetString value)
    • xOnly

      public static EccP256CurvePoint xOnly(byte[] value)
    • fill

      public static EccP256CurvePoint fill()
    • compressedY0

      public static EccP256CurvePoint compressedY0(org.bouncycastle.asn1.ASN1OctetString octetString)
    • compressedY1

      public static EccP256CurvePoint compressedY1(org.bouncycastle.asn1.ASN1OctetString octetString)
    • compressedY0

      public static EccP256CurvePoint compressedY0(byte[] octetString)
    • compressedY1

      public static EccP256CurvePoint compressedY1(byte[] octetString)
    • uncompressedP256

      public static EccP256CurvePoint uncompressedP256(Point256 point256)
    • uncompressedP256

      public static EccP256CurvePoint uncompressedP256(BigInteger x, BigInteger y)
    • createEncodedPoint

      public static EccP256CurvePoint createEncodedPoint(byte[] encoded)
    • createCompressed

      public EccP256CurvePoint createCompressed(org.bouncycastle.math.ec.ECPoint point)
    • getInstance

      public static EccP256CurvePoint getInstance(Object object)
    • getEccp256CurvePoint

      public org.bouncycastle.asn1.ASN1Encodable getEccp256CurvePoint()
    • getChoice

      public int getChoice()
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
    • getEncodedPoint

      public byte[] getEncodedPoint()
      Specified by:
      getEncodedPoint in class EccCurvePoint