Class ProtoParametersSerialization


  • @Immutable
    public final class ProtoParametersSerialization
    extends java.lang.Object
    Represents a Parameters object serialized with binary protobuf Serialization.

    ProtoParametersSerialization objects fully describe a Parameters object, but tailored for protocol buffer serialization.

    • 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 new ProtoParametersSerialization object from the individual parts.

        Note: the given typeUrl must be valid and must not contain invalid characters.

        Throws:
        java.security.GeneralSecurityException
      • getTypeUrl

        public java.lang.String getTypeUrl()
        The typeUrl.
      • getValue

        public com.google.protobuf.ByteString getValue()
        The value.