Package com.google.crypto.tink
Class ProtoParametersSerialization
- java.lang.Object
-
- com.google.crypto.tink.ProtoParametersSerialization
-
@Immutable public final class ProtoParametersSerialization extends java.lang.ObjectRepresents aParametersobject serialized with binary protobuf Serialization.ProtoParametersSerializationobjects fully describe aParametersobject, but tailored for protocol buffer serialization.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtoParametersSerializationcreate(java.lang.String typeUrl, ProtoKeySerialization.OutputPrefixType outputPrefixType, com.google.protobuf.ByteString value)Creates a newProtoParametersSerializationobject from the individual parts.ProtoKeySerialization.OutputPrefixTypegetOutputPrefixType()java.lang.StringgetTypeUrl()The typeUrl.com.google.protobuf.ByteStringgetValue()The value.
-
-
-
Method Detail
-
create
public static ProtoParametersSerialization create(java.lang.String typeUrl, ProtoKeySerialization.OutputPrefixType outputPrefixType, com.google.protobuf.ByteString value) throws java.security.GeneralSecurityException
Creates a newProtoParametersSerializationobject from the individual parts.Note: the given typeUrl must be valid and must not contain invalid characters.
- Throws:
java.security.GeneralSecurityException
-
getOutputPrefixType
public ProtoKeySerialization.OutputPrefixType getOutputPrefixType()
-
getTypeUrl
public java.lang.String getTypeUrl()
The typeUrl.
-
getValue
public com.google.protobuf.ByteString getValue()
The value.
-
-