@Immutable public final class ProtoParametersSerialization extends Object implements Serialization
Parameters object serialized with binary protobuf Serialization.
ProtoParametersSerialization objects fully describe a Parameters object, but
tailored for protocol buffer serialization.
| Modifier and Type | Method and Description |
|---|---|
static ProtoParametersSerialization |
create(KeyTemplate keyTemplate)
Creates a new
ProtoParametersSerialization object. |
static ProtoParametersSerialization |
create(String typeUrl,
OutputPrefixType outputPrefixType,
com.google.protobuf.MessageLite value)
Creates a new
ProtoParametersSerialization object from the individual parts. |
KeyTemplate |
getKeyTemplate()
The contents of the field value in the message com.google.crypto.tink.proto.KeyData.
|
Bytes |
getObjectIdentifier()
The typeUrl.
|
public static ProtoParametersSerialization create(String typeUrl, OutputPrefixType outputPrefixType, com.google.protobuf.MessageLite value)
ProtoParametersSerialization object from the individual parts.public static ProtoParametersSerialization create(KeyTemplate keyTemplate)
ProtoParametersSerialization object.public KeyTemplate getKeyTemplate()
public Bytes getObjectIdentifier()
getObjectIdentifier in interface Serialization