net.jini.discovery.ssl.sha256
provides an extended implementation
of the net.jini.discovery.ssl
discovery
format, specified in the Jini Discovery and Join Specification.See: Description
Class | Description |
---|---|
Client |
Implements the client side of the
net.jini.discovery.ssl.sha256
unicast discovery format. |
Server |
Implements the server side of the
net.jini.discovery.ssl.sha256
unicast discovery format. |
net.jini.discovery.ssl.sha256
provides an extended implementation
of the net.jini.discovery.ssl
discovery
format, specified in the Jini Discovery and Join Specification. The
Client
class implements the client side of
the net.jini.discovery.ssl.sha256
discovery format for the unicast
discovery protocol, while the Server
class
implements the server side of the discovery format for that protocol. Both
classes are intended to be specified in a resource to configure the operation
of the Discovery
class, as described in the
documentation for
Discovery.getProtocol2(ClassLoader)
.
The unicast response data sent by the lookup service, if the SHA-224 hash matches, is in the following form:
The table below illustrates the layout for unicast response discovery format data specified by the net.jini.discovery.plaintext
discovery format. The values to encode are described in Section DJ.2.6.3, "Unicast Response Contents".
The discovery format data consists of a contiguous series of values in the order listed above from top to bottom. Values of type String
are encoded in the format specified for the writeUTF
method of the java.io.DataOutput
interface. Unsigned short
values are encoded as if they were cast to signed short
values, and then written in the format specified for the writeShort
method of the java.io.DataOutput
interface. The registrar proxy is written in the same format that would be produced by constructing a java.io.ObjectOutputStream
, and writing to it an instance of net.jini.io.MarshalledInstance
containing the marshalled registrar proxy. The number of group strings written must be equal to the group count value.
net.jini.jeri.ssl
package.
net.jini.jeri.ssl
package.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.