Top Description Fields Constructors Methods
org.bouncycastle.oer.its.etsi102941.basetypes

public Class PublicKeys

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Encodable, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .DERSequence, org.bouncycastle.oer.OEROptional, org.bouncycastle.oer.its.ieee1609dot2.basetypes.PublicEncryptionKey, .PublicVerificationKey

PublicKeys ::= SEQUENCE { verificationKey PublicVerificationKey, encryptionKey PublicEncryptionKey OPTIONAL }

Field Summary

Modifier and TypeField and Description
private final PublicEncryptionKey
private final PublicVerificationKey

Constructor Summary

AccessConstructor and Description
public
PublicKeys(PublicVerificationKey verificationKey, PublicEncryptionKey encryptionKey)

private

Method Summary

Modifier and TypeMethod and Description
public PublicEncryptionKey
public static PublicKeys
public PublicVerificationKey
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

encryptionKeyback to summary
private final PublicEncryptionKey encryptionKey
verificationKeyback to summary
private final PublicVerificationKey verificationKey

Constructor Detail

PublicKeysback to summary
public PublicKeys(PublicVerificationKey verificationKey, PublicEncryptionKey encryptionKey)
PublicKeysback to summary
private PublicKeys(ASN1Sequence sequence)

Method Detail

getEncryptionKeyback to summary
public PublicEncryptionKey getEncryptionKey()
getInstanceback to summary
public static PublicKeys getInstance(Object o)
getVerificationKeyback to summary
public PublicVerificationKey getVerificationKey()
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.