ApplicationKeySupport

public final class ApplicationKeySupport extends Object

Utility methods and definitions for working with Weave Application keys.

Nested Class Summary

Constant Summary

int kAppIntermediateKeySize The size (in bytes) of a derived intermediate key.

Field Summary

public static final byte[] kAppIntermediateKeyDiversifier Diversifier value used to derive an intermediate key from a root key plus an epoch key.

Public Constructor Summary

Public Method Summary

static byte[]
deriveApplicationKey(int keyId, ApplicationKeySupport.ConstituentKeySource keySource, byte[] salt, byte[] diversifier, int keyLen)

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Constants

public static final int kAppIntermediateKeySize

The size (in bytes) of a derived intermediate key.

Constant Value: 32

Fields

public static final byte[] kAppIntermediateKeyDiversifier

Diversifier value used to derive an intermediate key from a root key plus an epoch key.

Public Constructors

public ApplicationKeySupport ()

Public Methods

public static byte[] deriveApplicationKey (int keyId, ApplicationKeySupport.ConstituentKeySource keySource, byte[] salt, byte[] diversifier, int keyLen)

Parameters
keyId
keySource
salt
diversifier
keyLen
Throws
Exception