@Immutable
public interface Serialization
Key or a serialized Parameters object.
Serialization objects are used within Tink to serialize keys, keysets, and key formats. For each serialization method (e.g., for binary protobuf serialization), one subclass of this must be defined.
This class should eventually be in Tinks public API -- however, it might still change before that.
| Modifier and Type | Method and Description |
|---|---|
Bytes |
getObjectIdentifier()
Identifies which parsing method to use in the registry.
|
Bytes getObjectIdentifier()
When registering a parsing function in the registry, one argument will be this object identifier. When the registry is asked to parse a Serialization, the registry will then dispatch it to the corresponding method.