Top Description Inners Fields Constructors Methods
org.bouncycastle.oer.its.ieee1609dot2.basetypes

public Class BasePublicEncryptionKey

extends ASN1Object
implements ASN1Choice
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.ASN1Choice
Imports
org.bouncycastle.asn1.ASN1Choice, .ASN1Encodable, .ASN1Object, .ASN1Primitive, .ASN1TaggedObject, .BERTags, .DERTaggedObject

BasePublicEncryptionKey ::= CHOICE { eciesNistP256 EccP256CurvePoint, eciesBrainpoolP256r1 EccP256CurvePoint, ... }

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final ASN1Encodable
private final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
private
public

Method Summary

Modifier and TypeMethod and Description
public static BasePublicEncryptionKey
public static BasePublicEncryptionKey
public ASN1Encodable
public int
public static BasePublicEncryptionKey
getInstance(Object objectAt)

public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

basePublicEncryptionKeyback to summary
private final ASN1Encodable basePublicEncryptionKey
choiceback to summary
private final int choice
eciesBrainpoolP256r1back to summary
public static final int eciesBrainpoolP256r1
eciesNistP256back to summary
public static final int eciesNistP256

Constructor Detail

BasePublicEncryptionKeyback to summary
private BasePublicEncryptionKey(ASN1TaggedObject dto)
BasePublicEncryptionKeyback to summary
public BasePublicEncryptionKey(int choice, ASN1Encodable value)

Method Detail

eciesBrainpoolP256r1back to summary
public static BasePublicEncryptionKey eciesBrainpoolP256r1(EccP256CurvePoint point)
eciesNistP256back to summary
public static BasePublicEncryptionKey eciesNistP256(EccP256CurvePoint point)
getBasePublicEncryptionKeyback to summary
public ASN1Encodable getBasePublicEncryptionKey()
getChoiceback to summary
public int getChoice()
getInstanceback to summary
public static BasePublicEncryptionKey getInstance(Object objectAt)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.

org.bouncycastle.oer.its.ieee1609dot2.basetypes back to summary

public Class BasePublicEncryptionKey.Builder

extends Object
Class Inheritance
  • java.lang.Object
  • org.bouncycastle.oer.its.ieee1609dot2.basetypes.BasePublicEncryptionKey.Builder

Field Summary

Modifier and TypeField and Description
private int
private ASN1Encodable

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public BasePublicEncryptionKey
public BasePublicEncryptionKey.Builder
setChoice(int choice)

public BasePublicEncryptionKey.Builder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

choiceback to summary
private int choice
valueback to summary
private ASN1Encodable value

Constructor Detail

Builderback to summary
public Builder()

Method Detail

createBasePublicEncryptionKeyback to summary
public BasePublicEncryptionKey createBasePublicEncryptionKey()
setChoiceback to summary
public BasePublicEncryptionKey.Builder setChoice(int choice)
setValueback to summary
public BasePublicEncryptionKey.Builder setValue(EccCurvePoint value)