| Modifier and Type | Method and Description |
|---|---|
static <P> PrimitiveSet<P> |
Registry.getPrimitives(KeysetHandle keysetHandle,
Class<P> primitiveClass)
Creates a set of primitives corresponding to the keys with status=ENABLED in the keyset given
in
keysetHandle, assuming all the corresponding key managers are present (keys with
status!=ENABLED are skipped). |
static <P> PrimitiveSet<P> |
Registry.getPrimitives(KeysetHandle keysetHandle,
KeyManager<P> customManager,
Class<P> primitiveClass)
Creates a set of primitives corresponding to the keys with status=ENABLED in the keyset given
in
keysetHandle, using customManager (instead of registered key managers) for
keys supported by it. |
static <P> PrimitiveSet<P> |
PrimitiveSet.newPrimitiveSet(Class<P> primitiveClass) |
| Modifier and Type | Method and Description |
|---|---|
P |
PrimitiveWrapper.wrap(PrimitiveSet<B> set)
Wraps a
PrimitiveSet and returns a single instance. |
static <B,P> P |
Registry.wrap(PrimitiveSet<B> primitiveSet,
Class<P> clazz)
Looks up the globally registered PrimitiveWrapper for this primitive and wraps the given
PrimitiveSet with it.
|
static <P> P |
Registry.wrap(PrimitiveSet<P> primitiveSet) |
| Modifier and Type | Method and Description |
|---|---|
Aead |
AeadWrapper.wrap(PrimitiveSet<Aead> pset) |
| Modifier and Type | Method and Description |
|---|---|
DeterministicAead |
DeterministicAeadWrapper.wrap(PrimitiveSet<DeterministicAead> primitives) |
| Modifier and Type | Method and Description |
|---|---|
HybridDecrypt |
HybridDecryptWrapper.wrap(PrimitiveSet<HybridDecrypt> primitives) |
| Modifier and Type | Method and Description |
|---|---|
PrfSet |
PrfSetWrapper.wrap(PrimitiveSet<Prf> set) |
| Modifier and Type | Method and Description |
|---|---|
PublicKeySign |
PublicKeySignWrapper.wrap(PrimitiveSet<PublicKeySign> primitives) |
| Modifier and Type | Method and Description |
|---|---|
StreamingAead |
StreamingAeadWrapper.wrap(PrimitiveSet<StreamingAead> primitives) |