Top Description Fields Constructors Methods
org.bouncycastle.jcajce.spec

public Class UserKeyingMaterialSpec

extends Object
implements AlgorithmParameterSpec
Class Inheritance
All Implemented Interfaces
java.security.spec.AlgorithmParameterSpec
Imports
java.security.spec.AlgorithmParameterSpec, org.bouncycastle.util.Arrays

User keying material for the KDF used in key agreement algorithms.

Field Summary

Modifier and TypeField and Description
private final byte[]

Constructor Summary

AccessConstructor and Description
public
UserKeyingMaterialSpec(byte[]
the bytes to be mixed in to the key agreement's KDF.
userKeyingMaterial
)

Base constructor.

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

the user keying material.
getUserKeyingMaterial
()

Return a copy of the key material in this object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

userKeyingMaterialback to summary
private final byte[] userKeyingMaterial

Constructor Detail

UserKeyingMaterialSpecback to summary
public UserKeyingMaterialSpec(byte[] userKeyingMaterial)

Base constructor.

Parameters
userKeyingMaterial:byte[]

the bytes to be mixed in to the key agreement's KDF.

Method Detail

getUserKeyingMaterialback to summary
public byte[] getUserKeyingMaterial()

Return a copy of the key material in this object.

Returns:byte[]

the user keying material.