Package org.bouncycastle.oer.its
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)) } }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEccP256CurvePoint.Builder
-
Field Summary
Fields Modifier and Type Field Description static intcompressedY0static intcompressedY1static intfillstatic intuncompressedP256static intxOnly
-
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.Builderbuilder()intgetChoice()byte[]getEncodedPoint()static EccP256CurvePointgetInstance(java.lang.Object object)org.bouncycastle.asn1.ASN1EncodablegetValue()org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()
-
-
-
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
-
getInstance
public static EccP256CurvePoint getInstance(java.lang.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:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-
getEncodedPoint
public byte[] getEncodedPoint()
- Specified by:
getEncodedPointin classEccCurvePoint
-
-