Top Description Fields Constructors Methods
org.bouncycastle.asn1.cms.ecc

public Class MQVuserKeyingMaterial

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence, .DERTaggedObject, org.bouncycastle.asn1.cms.OriginatorPublicKey

RFC 5753/3278: MQVuserKeyingMaterial object.
MQVuserKeyingMaterial ::= SEQUENCE {
  ephemeralPublicKey OriginatorPublicKey,
  addedukm [0] EXPLICIT UserKeyingMaterial OPTIONAL  }

Field Summary

Modifier and TypeField and Description
private ASN1OctetString
private OriginatorPublicKey

Constructor Summary

AccessConstructor and Description
public
private

Method Summary

Modifier and TypeMethod and Description
public ASN1OctetString
public OriginatorPublicKey
public static MQVuserKeyingMaterial
getInstance(ASN1TaggedObject
the tagged object holding the object we want.
obj
,
boolean
true if the object is meant to be explicitly tagged false otherwise.
explicit
)

Return an MQVuserKeyingMaterial object from a tagged object.

public static MQVuserKeyingMaterial
getInstance(Object
the object we want converted.
obj
)

Return an MQVuserKeyingMaterial object from the given object.

public ASN1Primitive
toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

addedukmback to summary
private ASN1OctetString addedukm
ephemeralPublicKeyback to summary
private OriginatorPublicKey ephemeralPublicKey

Constructor Detail

MQVuserKeyingMaterialback to summary
public MQVuserKeyingMaterial(OriginatorPublicKey ephemeralPublicKey, ASN1OctetString addedukm)
MQVuserKeyingMaterialback to summary
private MQVuserKeyingMaterial(ASN1Sequence seq)

Method Detail

getAddedukmback to summary
public ASN1OctetString getAddedukm()
getEphemeralPublicKeyback to summary
public OriginatorPublicKey getEphemeralPublicKey()
getInstanceback to summary
public static MQVuserKeyingMaterial getInstance(ASN1TaggedObject obj, boolean explicit)

Return an MQVuserKeyingMaterial object from a tagged object.

Parameters
obj:ASN1TaggedObject

the tagged object holding the object we want.

explicit:boolean

true if the object is meant to be explicitly tagged false otherwise.

Exceptions
IllegalArgumentException:
if the object held by the tagged object cannot be converted.
getInstanceback to summary
public static MQVuserKeyingMaterial getInstance(Object obj)

Return an MQVuserKeyingMaterial object from the given object.

Accepted inputs:

Parameters
obj:Object

the object we want converted.

Exceptions
IllegalArgumentException:
if the object cannot be converted.
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.

Returns:ASN1Primitive

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

a primitive representation of this object.