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
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 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EccP256CurvePoint.Builder
builder()
int
byte[]
static EccP256CurvePoint
getInstance
(Object object) org.bouncycastle.asn1.ASN1Encodable
getValue()
org.bouncycastle.asn1.ASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
xOnly
public static final int xOnly- See Also:
-
fill
public static final int fill- See Also:
-
compressedY0
public static final int compressedY0- See Also:
-
compressedY1
public static final int compressedY1- See Also:
-
uncompressedP256
public static final int uncompressedP256- See Also:
-
-
Constructor Details
-
EccP256CurvePoint
public EccP256CurvePoint(int choice, org.bouncycastle.asn1.ASN1Encodable value)
-
-
Method Details
-
getInstance
-
builder
-
getValue
public org.bouncycastle.asn1.ASN1Encodable getValue() -
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
-