public static final class PrimitiveSet.Entry<P> extends Object
| Modifier and Type | Method and Description |
|---|---|
P |
getFullPrimitive()
Returns the full primitive for this entry.
|
byte[] |
getIdentifier() |
Key |
getKey() |
int |
getKeyId() |
String |
getKeyType() |
OutputPrefixType |
getOutputPrefixType() |
Parameters |
getParameters() |
P |
getPrimitive()
Returns the primitive for this entry.
|
KeyStatusType |
getStatus() |
@Nullable public P getFullPrimitive()
This is used in cases when the new Tink Key interface is used and the primitive is
self-sufficient by itself, meaning that all the necessary information to process the
primitive is contained in the primitive (most likely through the new Key interface), as
opposed to the primitive field (see getPrimitive() for details).
@Nullable public P getPrimitive()
For primitives of type Mac, Aead, PublicKeySign, PublicKeyVerify, DeterministicAead, HybridEncrypt, and HybridDecrypt
this is a primitive which ignores the output prefix and assumes "RAW".
public KeyStatusType getStatus()
public OutputPrefixType getOutputPrefixType()
@Nullable public final byte[] getIdentifier()
public int getKeyId()
public String getKeyType()
public Key getKey()
@Nullable public Parameters getParameters()