#
# Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#

no_message = <No Message>

#Messages logged through SLPConfig.writeLog().

unknown_da_address = Unknown DA address: {0}
periodic_exception = Exception ``{0}'''' during periodic SA reregistering: {1}
sending_da_trace = Sending message ``{0}'''' to DA ``{1}''''
reply_da_trace = Received reply ``{0}'''' from DA ``{1}''''
tcp_send_da_trace = Sending TCP message ``{0}'''' to DA ``{1}''''
tcp_reply_da_trace = Received TCP reply ``{0}'''' from DA ``{1}''''
da_exception_trace = Error ``{0}'''' from DA ``{1}'''': {2}
udp_timeout = UDP timed out: {0}
datagram_io_error = IOException during datagram transaction with address ``{0}'''': {1}
udp_timeout = UDP timed out for address ``{0}''''.
tcp_timeout = TCP timed out for address ``{0}''''.
tcp_io_error = IOException during TCP transaction with address ``{0}'''': {1}
da_drop = Dropping DA ``{0}'''' with scopes ``{1}'''' due to network timeout.
reply_unparsable = Unparsable reply from host: {0}
wrong_xid = Got wrong XID on reply from host: {0}
drop_pr = Drop PR ignored by host ``{0}'''' for message ``{1}''''
multicast_error = Error during multicast: {0} \n    Backtrace: {1}
wrong_reply_type = Got reply message code ``{0}'''' for request message code ``{1}''''.
single_exception = Got exception code in reply: {0}
multiple_exception = Got exception code amongst multiple replies: {0}

#Messages logged within SLPConfig itself, through writeLog().

bad_prop_tag = SLPConfig: System Property ``{0}'''' is bad.
syntax_error_prop = SLPConfig: Syntax error in property ``{0}'''':{1}
invalid_timeout_prop = SLPConfig: Invalid timeout property ``{0}'''':{1}
capped_timeout_prop = SLPConfig: Total of timeouts ``{1}'''' exceed maximum wait ``{2}'''' for property ``{0}'''', redistributing evenly to ``{3}'''' timeouts of ``{4}''''
capped_range_timeout_prop = SLPConfig: Total of timeouts ``{1}'''' less than ``{2}'''' or greater than ``{3}'''' for property ``{0}'''', redistributing evenly to ``{4}'''' timeouts of ``{5}''''
no_use_scopes = SLPConfig: None of scopes in DAAddreses record for ``{0}'''' are on use Scopes list. Dropping.
add_da = SLPConfig:Add DA=``{0}'''', scopes=``{1}''''.
unknown_interface = SLPConfig: Unknown interface ''''{0}'''' in property ``{1}''''.atattr_sec_error = SLPConfig: Attribute signing is set but URL signing is not, ignoring.
unparsable_config_file = SLPConfig: Could not parse config file: {0}
url_malformed = SLPConfig: Config file URL ``{0}'''' is malformed.
no_keystore = Unable to get keystore: {0}

#Messages written when Assert fails and exits, and for IllegalArgumentException
#  message in Assert when a null parameter is detected.

assert_failed = Assertion Failed!\n
null_parameter = Null parameter: {0}.
no_class_name = Missing class name on property ``{0}''''.
no_class = Can''t load class ``{0}''''.
instantiation_exception = Exception instantiating class ``{0}''''.
access_exception = Access exception instantiating class ``{0}''''.
resolve_failed = Can''t resolve host name ``{0}''''.
reregister_bug = Illegal argument reregistering.
prev_resp_reply = Tried to add previous responder to reply.
no_utf8 = UTF8 encoding not supported.
illegal_utf8 = Illegal UTF8 character ``{0}''''.
merge_servattr = Can''t merge server attributes!
no_sa_scopes = No SA scopes in which to register administrative services.
wrong_sa_scope_deregister = Improper loopback deregistration for DA ``{0}'''' and SA scopes ``{1}''''.
wrong_sa_register = Improper loopback registration for DA ``{0}'''' with attributes ``{1}'''' and scopes ``{2}''''.
cant_find_resource = Can''t find message ``{0}''''.
cast_address_failure = Can''t resolve address ``{0}'''' for multicast or broadcast.
cast_socket_failure = Exception ``{0}'''' during error recovery trying to open multicast socket: {1}
shv2_opt_class_err = Can`t load option id ``{0}'''' parsing class ``{1}''''.
sa_new_scope = Discovered new scope ``{0}'''' during preconfigured DA contact from SA, for SA configured scopes ``{1}''''.

#Messages associated with ServiceLocationException or IllegalArgumentException
#  objects.

no_advertiser = This implementation of SLP doesn''t support Advertiser
no_locator = This implementation of SLP doesn''t support Locator
no_SPI_string = No SPI string for auth block
cant_sign = "Can not complete signing initialization."
cant_sign_for_spi = Can not sign for SPI ``{0}'''': {1}
cant_process_spi = Can not get security information for SPI ``{0}'':  {1}
malformed_url = Malformed service URL:{0}
not_right_url = ``{0}'''' is not a {1} service URL
empty_vector = Empty vector for t (can be null but not empty)
not_an_attribute = Object in attribute vector is not an attribute
no_scope_vector = Empty scope vector
non_string_element = Nonstring element in name vector ``{0}''''
null_element = Null element in vector ``{0}''''
no_opaque_header = Expected opaque ``{0}'''' lacks \\ff header
escape_err = String ``{0}'''' is improperly escaped
nonterminating_escape = Escape sequence runs off the end of string ``{0}''''
wrong_char_num = Escape contains incorrect number of characters in string ``{0}''''
not_hex = String ``{0}'''' contains sequence not encoding a hex number
char_not_reserved_attr = Escaped character ``{0}'''' is not reserved in attribute tag or string ``{1}''''
char_not_reserved_scope = Escaped character ``{0}'''' is not reserved in scope string ``{1}''''
reserved_not_escaped = Reserved character ``{0}'''' is not escaped
not_a_character = The escaped character string ``{0}'''' is not a UTF8 character
more_than_one = The escaped character string ``{0}'''' codes for more than one UTF8 character
null_or_empty_vector = Null or empty vector parameter: {0}
unexpected_ipc = Expected a SrvAck, got wrong function code or null message.
remote_error = Remote agent SLP error
missing_auth = No authentication blocks in input
missing_scope = SPI ``{0}'''' not in auth block list
init_verify_failure = Can''t initialize verification for SPI ``{0}'''': {1}
verify_failure = Verify failed for SPI ``{0}''''.
timestamp_failure = Timestamp check failed for SPI ``{0}''''.
cant_get_security_provider = Can''t get security provider\n    BSD = {0}\n    Algorithm / Provider = {1}\n: {2}
bad_bsd_for_alias = Unknown or unsupported algorithm ``{0}''
invalid_cert = Certificate validity check failed for ``{0}'': {1}
cant_match_spis = Configured SPI is not equivalant to SPI ``{0}'' given in auth block: {1}
no_spis_configured = No SPIs configured to define security policy. Please set the ``sun.net.slp.SPIs'' property.
no_spis_given = No AMI aliases given to identify keys to sign with. Please set the ``sun.net.slp.signAs'' property.
no_cert = Can not find certificate for ``{0}'': {1}
no_cert_chain = Can not get certificate chain for ``{0}''
cant_compute_hash = Can''t compute hash: {0}
not_all_spis_present = Not all SPIs required are present: Missing are {0}\n
no_spi_string = No SPI string given in Auth Block.
spi_parse_error = Can not unescape SPI ``{0}'': {1}. Remember that configuration properties must be escaped.
lifetime_error = Lifetime parameter is out of range 0-65535
url_char_error = The character ``{0}'''' is illegal in URLs. Use the %## escape syntax convention.  Spaces are denoted with a ``+'''' character.
url_syntax_error = Syntax error in service URL ``{0}''''
version_number_error = Unrecognized SLP version number ``{0}''''
function_code_error = Unrecognized SLP function code ``{0}''''
null_locale_error = Null locale parameter.
option_error = Option offset ``{0}'''' greater than message length ``{1}''''.
buffer_overflow = Message size of {0} bytes exceeds network MTU size of {1} bytes
sdat_active_err = Error ``{0}'''' performing discovery: {1}
sdat_nonadvert_err = Dropping nonDAAdvert received in response to active discovery:\n {0}
length_overflow = Message size of {0} bytes exceeds packet header declared length of {1} bytes.
read_failed = Network read failed: {0}
csl_syntax_error = Syntax error in comma separated list ``{0}''''
auth_classes_missing = No authentication classes available
nonstring_tag = Nonstring attribute tag
passthrough = {0}
socket_creation_failure = Could not create a socket for address ``{0}'''': {1}
socket_initializtion_failure = Could not initialize a socket for address ``{0}'''': {1}
ioexception_conv = IOException ``{0}'''' during multicast convergence: {1}
passthrough_addr = {0} in message from agent ``{1}''''.
ioexception_parsing = IOException ``{0}'''' in parsing reply message of type ``{1}'''' from agent ``{2}'''': {3}
assignment_null_id = No attribute id in attribute assignment expression ``{0}''''
assignment_syntax_err = Syntax error in attribute assignment expression ``{0}''''
empty_string_value = Empty string attribute value
null_string_parameter = Null or empty string parameter: {0}
value_type_error = Type of attribute value not one of Boolean, String, Integer, or byte[]
type_mismatch_error = Attribute value vector contains objects of different types
multivalued_boolean = Boolean attribute cannot be multivalued
bad_id_char = Prohibited character ``{0}'''' in attribute id
attribute_type_mismatch = Two attributes with id ``{0}'''' have different value types
boolean_incompat = Two boolean attributes with id ``{0}'''' have different truth value
service_type_syntax = Syntax error in service type name ``{0}''''
loopback_error = Error ``{0}`` during looback DA lookup
loopback_parse_error = Syntax error in URL ``{0}'''' reply to looback DA lookup.
template_lang_null = Null language string in template registration locale for template document ``{0}''''
template_already_registered = Template document ``{0}'''' version ``{1}'''' is already registered in locale ``{2}''''
template_not_registered = Template for service type ``{0}''' version ``{1}'''' is not registered in locale ``{2}''''
template_url_malformed = Malformed template URL ``{0}''''
template_multiple = Found multiple template URLs for service type ``{0}'''' version ``{1}'''' in locale ``{2}''''
template_no_attribute = No attribute matching id ``{0}'''' in the template
template_not_null = The attribute ``{0}'''' is a keyword attribute but the values property is not null
template_null = The attribute ``{0}'''' is not a keyword attribute but the values property is null
template_not_multi = The attribute ``{0}'''' values vector has more than one value but the attribute is not multivalued
template_type_mismatch = The attribute ``{0}'''' type ``{1}'''' does not match the template attribute type ``{2}''''
template_not_allowed_value = The attribute ``{0}'''' value ``{1}'''' is not an allowed value
template_missing_required = Missing required attribute ``{0}'''' from registration
template_dup = Duplicate attribute ``{0}'''' in registration
template_io_error = IOException at line {0} during parsing of template: {1}
template_assign_error = Syntax error in attribute assignment at line {0}
template_end_error = Unexpected end of input during template parsing at line {0}
template_unk_token = Unrecognized token during template parsing at line {0}
template_missing_id = Missing attribute id at line {0}
template_missing_eq = Missing ``='''' in attribute definition at line {0}
template_attr_syntax = Syntax error in attribute defintion at line {0}
template_srv_type_err = Syntax error in service type name definition at line {0}
template_vers_err = Syntax error in version number definition at line {0}
template_vers_mssing = Missing version number attribute at line {0}
template_lang_err = Syntax error in language definition at line {0}
template_nontattribute_err = Nontemplate attribute in header section at line {0}
template_dup_def = Duplicate attribute definition at line {0}
template_no_init = Definition for attribute ``{0}'''' restricts allowed values but there are no initializers
template_wrong_init = Initializer ``{0}'''' for attribute ``{1}'''' is not an allowed value
template_not_slp_type = The attribute type is not an SLP type at line {0}
template_boolean_multi = Multivalued boolean attribute definiton at line {0}
template_invalid_attr_flag = Invalid attribute flag at line {0}
template_dup_attr_flag = Duplicate attribute flag at line {0}
template_invalid_tok = Invalid token at line {0}
template_expect_int = Expected integer token at line {0}, got ``{1}''''
template_expect_bool = Expected boolean at line {0}, got ``{1}''''
template_attr_desc = Internal error! Attribute descriptor type not set while parsing values list.
invalid_url = Invalid URL ``{0}'''' 
url_ioexception = IOException opening URL ``{0}'''': {1}

v2_daadvert_client_side = Tried to create a DAAdvert on the client side.
v2_unsup_option = Mandatory option ``{0}'''' is not supported.
v2_option_inst = Instantiation exception creating option parser for option ``{0}'''': {1}.
v2_option_sec = Security access exception creating option parser for option ``{0}'''': {1}.
v2_prev_resp_overflow = Previous responders list caused packet to overflow.
