Class EccP384CurvePoint
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.oer.its.ieee1609dot2.basetypes.EccCurvePoint
-
- org.bouncycastle.oer.its.ieee1609dot2.basetypes.EccP384CurvePoint
-
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice,org.bouncycastle.asn1.ASN1Encodable,org.bouncycastle.util.Encodable
public class EccP384CurvePoint extends EccCurvePoint implements org.bouncycastle.asn1.ASN1Choice
EccP384CurvePoint ::= CHOICE { x-only OCTET STRING (SIZE (48)), fill NULL, compressed-y-0 OCTET STRING (SIZE (48)), compressed-y-1 OCTET STRING (SIZE (48)), uncompressedP384 SEQUENCE { x OCTET STRING (SIZE (48)), y OCTET STRING (SIZE (48)) } }
-
-
Field Summary
Fields Modifier and Type Field Description static intcompressedY0static intcompressedY1static intfillstatic intuncompressedP384static intxonly
-
Constructor Summary
Constructors Constructor Description EccP384CurvePoint(int choice, org.bouncycastle.asn1.ASN1Encodable value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EccP384CurvePointcompressedY0(byte[] octetString)static EccP384CurvePointcompressedY0(org.bouncycastle.asn1.ASN1OctetString octetString)static EccP384CurvePointcompressedY1(byte[] octetString)static EccP384CurvePointcompressedY1(org.bouncycastle.asn1.ASN1OctetString octetString)static EccP384CurvePointfill()intgetChoice()org.bouncycastle.asn1.ASN1EncodablegetEccP384CurvePoint()byte[]getEncodedPoint()static EccP384CurvePointgetInstance(java.lang.Object object)org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()static EccP384CurvePointuncompressedP384(Point384 point384)static EccP384CurvePointxOnly(byte[] value)static EccP384CurvePointxOnly(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
-
uncompressedP384
public static final int uncompressedP384
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static EccP384CurvePoint getInstance(java.lang.Object object)
-
xOnly
public static EccP384CurvePoint xOnly(org.bouncycastle.asn1.ASN1OctetString value)
-
xOnly
public static EccP384CurvePoint xOnly(byte[] value)
-
fill
public static EccP384CurvePoint fill()
-
compressedY0
public static EccP384CurvePoint compressedY0(org.bouncycastle.asn1.ASN1OctetString octetString)
-
compressedY1
public static EccP384CurvePoint compressedY1(org.bouncycastle.asn1.ASN1OctetString octetString)
-
compressedY0
public static EccP384CurvePoint compressedY0(byte[] octetString)
-
compressedY1
public static EccP384CurvePoint compressedY1(byte[] octetString)
-
uncompressedP384
public static EccP384CurvePoint uncompressedP384(Point384 point384)
-
getChoice
public int getChoice()
-
getEccP384CurvePoint
public org.bouncycastle.asn1.ASN1Encodable getEccP384CurvePoint()
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-
getEncodedPoint
public byte[] getEncodedPoint()
- Specified by:
getEncodedPointin classEccCurvePoint
-
-