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 Summary
Fields Modifier and Type Field Description static int
compressedY0
static int
compressedY1
static int
fill
static int
uncompressedP256
static int
xonly
-
Constructor Summary
Constructors Constructor Description EccP256CurvePoint(int choice, org.bouncycastle.asn1.ASN1Encodable value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EccP256CurvePoint
compressedY0(byte[] octetString)
static EccP256CurvePoint
compressedY0(org.bouncycastle.asn1.ASN1OctetString octetString)
static EccP256CurvePoint
compressedY1(byte[] octetString)
static EccP256CurvePoint
compressedY1(org.bouncycastle.asn1.ASN1OctetString octetString)
EccP256CurvePoint
createCompressed(org.bouncycastle.math.ec.ECPoint point)
static EccP256CurvePoint
createEncodedPoint(byte[] encoded)
static EccP256CurvePoint
fill()
int
getChoice()
org.bouncycastle.asn1.ASN1Encodable
getEccp256CurvePoint()
byte[]
getEncodedPoint()
static EccP256CurvePoint
getInstance(java.lang.Object object)
org.bouncycastle.asn1.ASN1Primitive
toASN1Primitive()
static EccP256CurvePoint
uncompressedP256(java.math.BigInteger x, java.math.BigInteger y)
static EccP256CurvePoint
uncompressedP256(Point256 point256)
static EccP256CurvePoint
xOnly(byte[] value)
static EccP256CurvePoint
xOnly(org.bouncycastle.asn1.ASN1OctetString value)
-
-
-
Field Detail
-
xonly
public static final int xonly
- See Also:
- Constant Field Values
-
fill
public static final int fill
- See Also:
- Constant Field Values
-
compressedY0
public static final int compressedY0
- See Also:
- Constant Field Values
-
compressedY1
public static final int compressedY1
- See Also:
- Constant Field Values
-
uncompressedP256
public static final int uncompressedP256
- See Also:
- Constant Field Values
-
-
Method Detail
-
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(java.math.BigInteger x, java.math.BigInteger y)
-
createEncodedPoint
public static EccP256CurvePoint createEncodedPoint(byte[] encoded)
-
createCompressed
public EccP256CurvePoint createCompressed(org.bouncycastle.math.ec.ECPoint point)
-
getInstance
public static EccP256CurvePoint getInstance(java.lang.Object object)
-
getEccp256CurvePoint
public org.bouncycastle.asn1.ASN1Encodable getEccp256CurvePoint()
-
getChoice
public int getChoice()
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-
getEncodedPoint
public byte[] getEncodedPoint()
- Specified by:
getEncodedPoint
in classEccCurvePoint
-
-