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

public Class PublicEncryptionKey

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Object, .ASN1Primitive, .ASN1Sequence, org.bouncycastle.oer.its.ItsUtils

PublicEncryptionKey ::= SEQUENCE { supportedSymmAlg SymmAlgorithm, publicKey BasePublicEncryptionKey }

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final BasePublicEncryptionKey
private final SymmAlgorithm

Constructor Summary

AccessConstructor and Description
public
PublicEncryptionKey(SymmAlgorithm supportedSymmAlg, BasePublicEncryptionKey basePublicEncryptionKey)

private

Method Summary

Modifier and TypeMethod and Description
public static PublicEncryptionKey.Builder
public static PublicEncryptionKey
public BasePublicEncryptionKey
public SymmAlgorithm
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

publicKeyback to summary
private final BasePublicEncryptionKey publicKey
supportedSymmAlgback to summary
private final SymmAlgorithm supportedSymmAlg

Constructor Detail

PublicEncryptionKeyback to summary
public PublicEncryptionKey(SymmAlgorithm supportedSymmAlg, BasePublicEncryptionKey basePublicEncryptionKey)
PublicEncryptionKeyback to summary
private PublicEncryptionKey(ASN1Sequence seq)

Method Detail

builderback to summary
public static PublicEncryptionKey.Builder builder()
getInstanceback to summary
public static PublicEncryptionKey getInstance(Object o)
getPublicKeyback to summary
public BasePublicEncryptionKey getPublicKey()
getSupportedSymmAlgback to summary
public SymmAlgorithm getSupportedSymmAlg()
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 PublicEncryptionKey.Builder

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

Field Summary

Modifier and TypeField and Description
private BasePublicEncryptionKey
private SymmAlgorithm

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PublicEncryptionKey
public PublicEncryptionKey.Builder
setPublicKey(BasePublicEncryptionKey basePublicEncryptionKey)

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

Field Detail

publicKeyback to summary
private BasePublicEncryptionKey publicKey
supportedSymmAlgback to summary
private SymmAlgorithm supportedSymmAlg

Constructor Detail

Builderback to summary
public Builder()

Method Detail

createPublicEncryptionKeyback to summary
public PublicEncryptionKey createPublicEncryptionKey()
setPublicKeyback to summary
public PublicEncryptionKey.Builder setPublicKey(BasePublicEncryptionKey basePublicEncryptionKey)
setSupportedSymmAlgback to summary
public PublicEncryptionKey.Builder setSupportedSymmAlg(SymmAlgorithm supportedSymmAlg)