Class EccP256CurvePoint

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

public class EccP256CurvePoint extends EccCurvePoint
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

    • getInstance

      public static EccP256CurvePoint getInstance(Object object)
    • builder

      public static EccP256CurvePoint.Builder builder()
    • getValue

      public org.bouncycastle.asn1.ASN1Encodable getValue()
    • 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