A B C D E F G H I J K L M N O P R S T U V W X 

A

accept(V) - Method in interface org.eclipse.californium.elements.util.LeastRecentlyUsedCache.Predicate
Applies the predicate to a cache value.
addEntries(EndpointContext, String...) - Static method in class org.eclipse.californium.elements.MapBasedEndpointContext
Add entries to endpoint context.
addEvictionListener(LeastRecentlyUsedCache.EvictionListener<V>) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Registers a listener to be notified about (stale) entries being evicted from the cache.
AddressEndpointContext - Class in org.eclipse.californium.elements
A endpoint context providing the inet socket address and a optional principal.
AddressEndpointContext(InetAddress, int) - Constructor for class org.eclipse.californium.elements.AddressEndpointContext
Creates a context for an IP address and port.
AddressEndpointContext(InetSocketAddress) - Constructor for class org.eclipse.californium.elements.AddressEndpointContext
Creates a context for a socket address.
AddressEndpointContext(InetSocketAddress, Principal) - Constructor for class org.eclipse.californium.elements.AddressEndpointContext
Creates a context for a socket address and an authenticated identity.
AddressEndpointContext(InetSocketAddress, String, Principal) - Constructor for class org.eclipse.californium.elements.AddressEndpointContext
Create endpoint context with principal.
Asn1DerDecoder - Class in org.eclipse.californium.elements.util
ASN.1 DER decoder for SEQUENCEs and OIDs.
Asn1DerDecoder() - Constructor for class org.eclipse.californium.elements.util.Asn1DerDecoder
 
assertOwner() - Method in class org.eclipse.californium.elements.util.SerialExecutor
Assert, that the current thread executes the SerialExecutor.currentlyExecutedJob.
asX509Certificates(Certificate[]) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Return certificates as x509 certificates.
awaitTermination(long, TimeUnit) - Method in class org.eclipse.californium.elements.util.SerialExecutor
 

B

Base64 - Class in org.eclipse.californium.elements.util
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in org.eclipse.californium.elements.util
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.InputStream(InputStream) - Constructor for class org.eclipse.californium.elements.util.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class org.eclipse.californium.elements.util.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in org.eclipse.californium.elements.util
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream(OutputStream) - Constructor for class org.eclipse.californium.elements.util.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class org.eclipse.californium.elements.util.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.
bitsLeft() - Method in class org.eclipse.californium.elements.util.DatagramReader
Gets the number of remaining bits that can be read from the datagram.
BKS_ENDING - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
Ending for key stores with type SslContextUtil.BKS_TYPE.
BKS_TYPE - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
Key store type BKS.
byteArray2Hex(byte[]) - Static method in class org.eclipse.californium.elements.util.StringUtil
Byte array to hexadecimal string without separator.
byteArray2HexString(byte[], char, int) - Static method in class org.eclipse.californium.elements.util.StringUtil
Byte array to hexadecimal display string.
bytes - Variable in class org.eclipse.californium.elements.RawData
The raw message.
Bytes - Class in org.eclipse.californium.elements.util
Byte array as key.
Bytes(byte[]) - Constructor for class org.eclipse.californium.elements.util.Bytes
Create bytes array.
Bytes(byte[], int, boolean) - Constructor for class org.eclipse.californium.elements.util.Bytes
Create bytes array.
bytesAvailable() - Method in class org.eclipse.californium.elements.util.DatagramReader
Checks if there are any more bytes available on the stream.
bytesAvailable(int) - Method in class org.eclipse.californium.elements.util.DatagramReader
Checks whether a given number of bytes can be read.

C

checkOwner() - Method in class org.eclipse.californium.elements.util.SerialExecutor
Check, if current thread executes the SerialExecutor.currentlyExecutedJob.
CLASSPATH_PROTOCOL - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
Deprecated.
use CLASSPATH_SCHEME instead!
CLASSPATH_SCHEME - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
Scheme for key store URI.
clear() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Removes all entries from the cache.
ClockUtil - Class in org.eclipse.californium.elements.util
Clock utility.
ClockUtil() - Constructor for class org.eclipse.californium.elements.util.ClockUtil
 
ClockUtil.Realtime - Interface in org.eclipse.californium.elements.util
Handler to return the expired realtime in nanoseconds.
close() - Method in class org.eclipse.californium.elements.util.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
COAP_THREAD_GROUP - Static variable in class org.eclipse.californium.elements.util.NamedThreadFactory
The default thread group for Californium threads.
configure(String, String) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Configure key store types for URI endings.
configure(String, SslContextUtil.InputStreamFactory) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Configure input stream factory for URI scheme.
configureDefaults() - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Configure defaults.
Connector - Interface in org.eclipse.californium.elements
A managed interface for exchanging messages between networked clients and a server application.
ConnectorFactory - Interface in org.eclipse.californium.elements
A factory for Connector objects.
create(Executor) - Static method in class org.eclipse.californium.elements.util.SerialExecutor
Create serial executor from provided executor.
create(String) - Method in interface org.eclipse.californium.elements.util.SslContextUtil.InputStreamFactory
Create input stream of the provided URI.
createDaemonThreads() - Method in class org.eclipse.californium.elements.util.DaemonThreadFactory
Always returns true since this is a factory for daemon threads.
createDaemonThreads() - Method in class org.eclipse.californium.elements.util.NamedThreadFactory
Checks whether this factory creates daemon threads.
createKeyManager(String, PrivateKey, X509Certificate[]) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Create key manager from private key and certificate path.
createKeySet(String...) - Static method in class org.eclipse.californium.elements.KeySetEndpointContextMatcher
Create key set from keys.
createSSLContext(String, PrivateKey, X509Certificate[], Certificate[]) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Create SSLContext with provided credentials and trusts.
createSSLContext(String, PrivateKey, X509Certificate[], Certificate[], String) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Create SSLContext with provided credentials and trusts.
createTrustManager(String, Certificate[]) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Create trust manager from trusted certificates.

D

DaemonThreadFactory - Class in org.eclipse.californium.elements.util
A factory to create executor services with daemon threads.
DaemonThreadFactory(String) - Constructor for class org.eclipse.californium.elements.util.DaemonThreadFactory
Creates a new factory for a prefix.
DaemonThreadFactory(String, ThreadGroup) - Constructor for class org.eclipse.californium.elements.util.DaemonThreadFactory
Creates a new factory for a prefix and thread group.
DatagramReader - Class in org.eclipse.californium.elements.util
This class describes the functionality to read raw network-ordered datagrams on bit-level.
DatagramReader(byte[]) - Constructor for class org.eclipse.californium.elements.util.DatagramReader
Creates a new reader for an array of bytes.
DatagramReader(ByteArrayInputStream) - Constructor for class org.eclipse.californium.elements.util.DatagramReader
Creates a new reader for an bytes stream.
DatagramWriter - Class in org.eclipse.californium.elements.util
This class describes the functionality to write raw network-ordered datagrams on bit-level.
DatagramWriter() - Constructor for class org.eclipse.californium.elements.util.DatagramWriter
Creates a new empty writer.
DECODE - Static variable in class org.eclipse.californium.elements.util.Base64
Specify decoding in first bit.
decode(byte[]) - Static method in class org.eclipse.californium.elements.util.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(byte[], int, int, int) - Static method in class org.eclipse.californium.elements.util.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class org.eclipse.californium.elements.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class org.eclipse.californium.elements.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - Static method in class org.eclipse.californium.elements.util.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class org.eclipse.californium.elements.util.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class org.eclipse.californium.elements.util.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class org.eclipse.californium.elements.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decodeToObject(String, int, ClassLoader) - Static method in class org.eclipse.californium.elements.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
DEFAULT_CAPACITY - Static variable in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
The cache's default maximum capacity.
DEFAULT_ENDING - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
Label to provide default key store type.
DEFAULT_INITIAL_CAPACITY - Static variable in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
The cache's default initial capacity.
DEFAULT_SSL_PROTOCOL - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
DEFAULT_THRESHOLD_SECS - Static variable in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
The default number of seconds after which an entry is considered stale if it hasn't been accessed for that amount of time.
destroy() - Method in interface org.eclipse.californium.elements.Connector
Stops the connector and cleans up any leftovers.
destroy() - Method in class org.eclipse.californium.elements.UDPConnector
 
DO_BREAK_LINES - Static variable in class org.eclipse.californium.elements.util.Base64
Do break lines when encoding.
DONT_GUNZIP - Static variable in class org.eclipse.californium.elements.util.Base64
Specify that gzipped data should not be automatically gunzipped.
DtlsEndpointContext - Class in org.eclipse.californium.elements
An endpoint context that explicitly supports DTLS specific properties.
DtlsEndpointContext(InetSocketAddress, Principal, String, String, String, String) - Constructor for class org.eclipse.californium.elements.DtlsEndpointContext
Creates a context for DTLS session parameters.
DtlsEndpointContext(InetSocketAddress, String, Principal, String, String, String, String) - Constructor for class org.eclipse.californium.elements.DtlsEndpointContext
Creates a context for DTLS session parameters.

E

EMPTY - Static variable in class org.eclipse.californium.elements.util.Bytes
Empty byte array.
ENCODE - Static variable in class org.eclipse.californium.elements.util.Base64
Specify encoding in first bit.
encode(ByteBuffer, ByteBuffer) - Static method in class org.eclipse.californium.elements.util.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded ByteBuffer.
encode(ByteBuffer, CharBuffer) - Static method in class org.eclipse.californium.elements.util.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded CharBuffer.
encodeBytes(byte[]) - Static method in class org.eclipse.californium.elements.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class org.eclipse.californium.elements.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class org.eclipse.californium.elements.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class org.eclipse.californium.elements.util.Base64
Encodes a byte array into Base64 notation.
encodeBytesToBytes(byte[]) - Static method in class org.eclipse.californium.elements.util.Base64
Similar to Base64.encodeBytes(byte[]) but returns a byte array instead of instantiating a String.
encodeBytesToBytes(byte[], int, int, int) - Static method in class org.eclipse.californium.elements.util.Base64
Similar to Base64.encodeBytes(byte[], int, int, int) but returns a byte array instead of instantiating a String.
encodeFileToFile(String, String) - Static method in class org.eclipse.californium.elements.util.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class org.eclipse.californium.elements.util.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class org.eclipse.californium.elements.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class org.eclipse.californium.elements.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class org.eclipse.californium.elements.util.Base64
Convenience method for encoding data to a file.
EndpointContext - Interface in org.eclipse.californium.elements
A container for storing transport specific information about the context in which a message has been sent or received.
EndpointContextMatcher - Interface in org.eclipse.californium.elements
Interface for endpoint context processing.
EndpointContextUtil - Class in org.eclipse.californium.elements
EndpointContext utility.
EndpointContextUtil() - Constructor for class org.eclipse.californium.elements.EndpointContextUtil
 
EndpointMismatchException - Exception in org.eclipse.californium.elements
Exception indicating, that the endpoint context doesn't match for some reason.
EndpointMismatchException() - Constructor for exception org.eclipse.californium.elements.EndpointMismatchException
Create new instance.
EndpointMismatchException(String) - Constructor for exception org.eclipse.californium.elements.EndpointMismatchException
Create new instance with message.
EndpointUnconnectedException - Exception in org.eclipse.californium.elements
Exception indicating, that the destination endpoint is currently not connected to the source server endpoint.
EndpointUnconnectedException() - Constructor for exception org.eclipse.californium.elements.EndpointUnconnectedException
Create new instance.
EndpointUnconnectedException(String) - Constructor for exception org.eclipse.californium.elements.EndpointUnconnectedException
Create new instance with message.
entries() - Method in class org.eclipse.californium.elements.AddressEndpointContext
Gets a Set of a Map.Entry which contains the key-value pair of the CorrelationContext.
entries() - Method in interface org.eclipse.californium.elements.EndpointContext
Gets a Set of a Map.Entry which contains the key-value pair of the CorrelationContext.
entries() - Method in class org.eclipse.californium.elements.MapBasedEndpointContext
 
equalKeyAlgorithmSynonyms(String, String) - Static method in class org.eclipse.californium.elements.util.Asn1DerDecoder
Check for equal key algorithm synonyms.
equals(Object) - Method in class org.eclipse.californium.elements.auth.PreSharedKeyIdentity
Compares another object to this identity.
equals(Object) - Method in class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
Checks if this instance is equal to another object.
equals(Object) - Method in class org.eclipse.californium.elements.auth.X509CertPath
 
equals(Object) - Method in class org.eclipse.californium.elements.util.Bytes
 
execute(Runnable) - Method in class org.eclipse.californium.elements.util.SerialExecutor
 
ExecutorsUtil - Class in org.eclipse.californium.elements.util
Utility to create executors.
ExecutorsUtil() - Constructor for class org.eclipse.californium.elements.util.ExecutorsUtil
 

F

find(LeastRecentlyUsedCache.Predicate<V>) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Finds a value based on a predicate.
find(LeastRecentlyUsedCache.Predicate<V>, boolean) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Finds a value based on a predicate.
flushBase64() - Method in class org.eclipse.californium.elements.util.Base64.OutputStream
Method added by PHIL.
fromBytes(byte[]) - Static method in class org.eclipse.californium.elements.auth.X509CertPath
Creates a new instance from a PkiPath encoded certificate chain.
fromCertificatesChain(Certificate...) - Static method in class org.eclipse.californium.elements.auth.X509CertPath
Create x509 certificate path from array certificates chain.
fromCertificatesChain(List<X509Certificate>) - Static method in class org.eclipse.californium.elements.auth.X509CertPath
Create x509 certificate path from list of x509 certificates chain.

G

generateCertPath(boolean, List<X509Certificate>) - Static method in class org.eclipse.californium.elements.auth.X509CertPath
Create certificate path from x509 certificates chain.
get(String) - Method in class org.eclipse.californium.elements.AddressEndpointContext
Gets a value from this context.
get(String) - Method in interface org.eclipse.californium.elements.EndpointContext
Gets a value from this context.
get(String) - Method in class org.eclipse.californium.elements.MapBasedEndpointContext
 
get(K) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Gets a value from the cache.
getAddress() - Method in interface org.eclipse.californium.elements.Connector
Gets the address of the socket this connector is bound to.
getAddress() - Method in class org.eclipse.californium.elements.RawData
Gets the address.
getAddress() - Method in class org.eclipse.californium.elements.UDPConnector
 
getAsString() - Method in class org.eclipse.californium.elements.util.Bytes
Get bytes as (hexadecimal) string.
getBytes() - Method in class org.eclipse.californium.elements.RawData
Gets the raw message.
getBytes() - Method in class org.eclipse.californium.elements.util.Bytes
Get bytes array.
getCapacity() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Gets the maximum number of entries this cache can manage.
getCertificateChain() - Method in class org.eclipse.californium.elements.util.SslContextUtil.Credentials
Get certificate trustedChain.
getCipher() - Method in class org.eclipse.californium.elements.DtlsEndpointContext
Gets the name of the cipher suite in use for the DTLS session.
getCipher() - Method in class org.eclipse.californium.elements.TlsEndpointContext
 
getConnectionId() - Method in class org.eclipse.californium.elements.TcpEndpointContext
 
getEndpointContext() - Method in class org.eclipse.californium.elements.RawData
Gets additional information regarding the context this message has been received in or should be sent in.
getEpoch() - Method in class org.eclipse.californium.elements.DtlsEndpointContext
Gets the current epoch of the DTLS session.
getExpirationThreshold() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Gets the period of time after which an entry is considered stale if it hasn't be accessed.
getHandshakeTimestamp() - Method in class org.eclipse.californium.elements.DtlsEndpointContext
Gets the timestamp in milliseconds of the last handshake.
getIdentity() - Method in class org.eclipse.californium.elements.auth.PreSharedKeyIdentity
Gets the identity.
getInetSocketAddress() - Method in class org.eclipse.californium.elements.RawData
Gets the source/destination IP address and port.
getKey() - Method in class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
Gets the raw public key.
getName() - Method in class org.eclipse.californium.elements.auth.PreSharedKeyIdentity
Gets the name of this principal.
getName() - Method in class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
Gets the Named Information URI representing this raw public key.
getName() - Method in class org.eclipse.californium.elements.auth.X509CertPath
Gets the Subject DN of the asserted identity of this certificate path.
getName() - Method in interface org.eclipse.californium.elements.EndpointContextMatcher
Return matcher name.
getName() - Method in class org.eclipse.californium.elements.KeySetEndpointContextMatcher
 
getName() - Method in class org.eclipse.californium.elements.PrincipalEndpointContextMatcher
 
getPath() - Method in class org.eclipse.californium.elements.auth.X509CertPath
Gets this certificate path.
getPeerAddress() - Method in class org.eclipse.californium.elements.AddressEndpointContext
 
getPeerAddress() - Method in interface org.eclipse.californium.elements.EndpointContext
Gets the inet address of the peer that the message is for or from.
getPeerAddressAsString() - Method in class org.eclipse.californium.elements.AddressEndpointContext
 
getPeerIdentity() - Method in class org.eclipse.californium.elements.AddressEndpointContext
 
getPeerIdentity() - Method in interface org.eclipse.californium.elements.EndpointContext
Gets the identity of the peer that the message is for or from.
getPort() - Method in class org.eclipse.californium.elements.RawData
Gets the port.
getPrivateKey() - Method in class org.eclipse.californium.elements.util.SslContextUtil.Credentials
Get private key.
getProtocol() - Method in interface org.eclipse.californium.elements.Connector
Returns the protocol of the connector.
getProtocol() - Method in class org.eclipse.californium.elements.UDPConnector
 
getReceiveBufferSize() - Method in class org.eclipse.californium.elements.UDPConnector
 
getReceiverPacketSize() - Method in class org.eclipse.californium.elements.UDPConnector
 
getReceiverThreadCount() - Method in class org.eclipse.californium.elements.UDPConnector
 
getScheduledExecutor() - Static method in class org.eclipse.californium.elements.util.ExecutorsUtil
Get general scheduled executor.
getSendBufferSize() - Method in class org.eclipse.californium.elements.UDPConnector
 
getSenderIdentity() - Method in class org.eclipse.californium.elements.RawData
Gets the identity of the sender of the message.
getSenderThreadCount() - Method in class org.eclipse.californium.elements.UDPConnector
 
getSessionId() - Method in class org.eclipse.californium.elements.DtlsEndpointContext
Gets the identifier of the DTLS session.
getSessionId() - Method in class org.eclipse.californium.elements.TlsEndpointContext
 
getSize() - Method in class org.eclipse.californium.elements.RawData
Gets the length of the serialized message
getSubjectInfo() - Method in class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
Gets the key's ASN.1 encoded SubjectPublicKeyInfo.
getTarget() - Method in class org.eclipse.californium.elements.auth.X509CertPath
Gets the asserted identity of this certificate path.
getVirtualHost() - Method in class org.eclipse.californium.elements.AddressEndpointContext
 
getVirtualHost() - Method in class org.eclipse.californium.elements.auth.PreSharedKeyIdentity
Gets the virtual host name that the identity is scoped to.
getVirtualHost() - Method in interface org.eclipse.californium.elements.EndpointContext
Gets the name of the virtual host that this endpoint is scoped to.
GZIP - Static variable in class org.eclipse.californium.elements.util.Base64
Specify that data should be gzip-compressed in second bit.

H

hasCriticalEntries() - Method in class org.eclipse.californium.elements.AddressEndpointContext
 
hasCriticalEntries() - Method in interface org.eclipse.californium.elements.EndpointContext
Check, if the correlation information contained, contains critical entries relevant for matching.
hasCriticalEntries() - Method in class org.eclipse.californium.elements.MapBasedEndpointContext
 
hashCode() - Method in class org.eclipse.californium.elements.auth.PreSharedKeyIdentity
 
hashCode() - Method in class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
Creates a hash code based on the key's ASN.1 encoded SubjectPublicKeyInfo.
hashCode() - Method in class org.eclipse.californium.elements.auth.X509CertPath
 
hashCode() - Method in class org.eclipse.californium.elements.util.Bytes
 
hex2ByteArray(String) - Static method in class org.eclipse.californium.elements.util.StringUtil
Convert hexadecimal String into decoded byte array.
hex2CharArray(String) - Static method in class org.eclipse.californium.elements.util.StringUtil
Convert hexadecimal String into decoded character array.

I

ID_TRUNC_LENGTH - Static variable in class org.eclipse.californium.elements.AddressEndpointContext
 
inbound(byte[], EndpointContext, boolean) - Static method in class org.eclipse.californium.elements.RawData
Instantiates a new raw data for a message received from a peer.
init(DatagramSocket) - Method in class org.eclipse.californium.elements.UDPConnector
Initialize connector using the provided socket.
isEmpty() - Method in class org.eclipse.californium.elements.util.Bytes
Check, if connection id is empty.
isEvictingOnReadAccess() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Get evict mode on read access.
isMulticast() - Method in class org.eclipse.californium.elements.RawData
Checks if this is a multicast message
ISO_8859_1 - Static variable in interface org.eclipse.californium.elements.util.StandardCharsets
ISO 8859 1 character set.
isResponseRelatedToRequest(EndpointContext, EndpointContext) - Method in interface org.eclipse.californium.elements.EndpointContextMatcher
Check, if responses is related to the request.
isResponseRelatedToRequest(EndpointContext, EndpointContext) - Method in class org.eclipse.californium.elements.KeySetEndpointContextMatcher
 
isResponseRelatedToRequest(EndpointContext, EndpointContext) - Method in class org.eclipse.californium.elements.PrincipalEndpointContextMatcher
 
isResponseRelatedToRequest(EndpointContext, EndpointContext) - Method in class org.eclipse.californium.elements.UdpEndpointContextMatcher
 
isSameVirtualHost(EndpointContext, EndpointContext) - Static method in class org.eclipse.californium.elements.KeySetEndpointContextMatcher
Checks if two endpoint contexts have the same virtual host property value.
isScopedIdentity() - Method in class org.eclipse.californium.elements.auth.PreSharedKeyIdentity
Checks, if the identity is scoped by the virtual host name.
isShutdown() - Method in class org.eclipse.californium.elements.util.SerialExecutor
 
isTerminated() - Method in class org.eclipse.californium.elements.util.SerialExecutor
 
isToBeSent(EndpointContext, EndpointContext) - Method in interface org.eclipse.californium.elements.EndpointContextMatcher
Check, if message should be sent out using the current endpoint context of the connector.
isToBeSent(EndpointContext, EndpointContext) - Method in class org.eclipse.californium.elements.KeySetEndpointContextMatcher
 
isToBeSent(EndpointContext, EndpointContext) - Method in class org.eclipse.californium.elements.PrincipalEndpointContextMatcher
 
isUpdatingOnReadAccess() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Get update last-access time mode on read access.
isValidHostName(String) - Static method in class org.eclipse.californium.elements.util.StringUtil
Checks if a given string is a valid host name as defined by RFC 1123.

J

JKS_ENDING - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
Ending for key stores with type SslContextUtil.JKS_TYPE.
JKS_TYPE - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
Key store type JKS.

K

KEY_CIPHER - Static variable in class org.eclipse.californium.elements.DtlsEndpointContext
The name of the attribute that contains the cipher suite used with the DTLS session.
KEY_CIPHER - Static variable in class org.eclipse.californium.elements.TlsEndpointContext
 
KEY_CONNECTION_ID - Static variable in class org.eclipse.californium.elements.TcpEndpointContext
Key for TCP connection ID.
KEY_EPOCH - Static variable in class org.eclipse.californium.elements.DtlsEndpointContext
The name of the attribute that contains the epoch of the DTLS session.
KEY_HANDSHAKE_TIMESTAMP - Static variable in class org.eclipse.californium.elements.DtlsEndpointContext
The name of the attribute that contains the timestamp of the last handshake of the DTLS session.
KEY_PLAIN - Static variable in class org.eclipse.californium.elements.UdpEndpointContext
 
KEY_PREFIX_NONE_CRITICAL - Static variable in class org.eclipse.californium.elements.MapBasedEndpointContext
Prefix for none critical attributes.
KEY_RESUMPTION_TIMEOUT - Static variable in class org.eclipse.californium.elements.DtlsEndpointContext
The name of the attribute that contains a auto session resumption timeout in milliseconds.
KEY_SESSION_ID - Static variable in class org.eclipse.californium.elements.DtlsEndpointContext
The name of the attribute that contains the DTLS session ID.
KEY_SESSION_ID - Static variable in class org.eclipse.californium.elements.TlsEndpointContext
 
KeySetEndpointContextMatcher - Class in org.eclipse.californium.elements
Key set based endpoint context matcher.
KeySetEndpointContextMatcher(String, String[]) - Constructor for class org.eclipse.californium.elements.KeySetEndpointContextMatcher
Creates a matcher for a set of keys to compare.
KeySetEndpointContextMatcher(String, String[], boolean) - Constructor for class org.eclipse.californium.elements.KeySetEndpointContextMatcher
Creates a matcher for a set of keys to compare.

L

LeastRecentlyUsedCache<K,V> - Class in org.eclipse.californium.elements.util
An in-memory cache with a maximum capacity and support for evicting stale entries based on an LRU policy.
LeastRecentlyUsedCache() - Constructor for class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Creates a cache with an initial capacity of LeastRecentlyUsedCache.DEFAULT_INITIAL_CAPACITY, a maximum capacity of LeastRecentlyUsedCache.DEFAULT_CAPACITY entries and an expiration threshold of LeastRecentlyUsedCache.DEFAULT_THRESHOLD_SECS seconds.
LeastRecentlyUsedCache(int, long) - Constructor for class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Creates a cache based on given configuration parameters.
LeastRecentlyUsedCache(int, int, long) - Constructor for class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Creates a cache based on given configuration parameters.
LeastRecentlyUsedCache.EvictionListener<V> - Interface in org.eclipse.californium.elements.util
A callback for getting notified about entries being evicted from the cache.
LeastRecentlyUsedCache.Predicate<V> - Interface in org.eclipse.californium.elements.util
A predicate to be applied to cache entries to determine the result set when searching for particular values.
length() - Method in class org.eclipse.californium.elements.util.Bytes
Return number of bytes.
lineSeparator - Static variable in class org.eclipse.californium.elements.util.StringUtil
Workaround too support android API 16-18.
lineSeparator() - Static method in class org.eclipse.californium.elements.util.StringUtil
Return line separator.
loadCertificateChain(String, String, char[]) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Load certificate chain from key store.
loadCredentials(String) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Load credentials from key store.
loadCredentials(String, String, char[], char[]) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Load credentials from key store.
loadKeyManager(String, String, char[], char[]) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Load KeyManager from key store.
loadTrustedCertificates(String) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Load trusted certificates from key store.
loadTrustedCertificates(String, String, char[]) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Load trusted certificates from key store.
loadTrustManager(String, String, char[]) - Static method in class org.eclipse.californium.elements.util.SslContextUtil
Load TrustManager from key store.
localAddr - Variable in class org.eclipse.californium.elements.UDPConnector
 
LOGGER - Static variable in class org.eclipse.californium.elements.UDPConnector
 

M

MapBasedEndpointContext - Class in org.eclipse.californium.elements
A map based endpoint context.
MapBasedEndpointContext(InetSocketAddress, Principal, String...) - Constructor for class org.eclipse.californium.elements.MapBasedEndpointContext
Creates a context for a socket address, authenticated identity and arbitrary key/value pairs.
MapBasedEndpointContext(InetSocketAddress, String, Principal, String...) - Constructor for class org.eclipse.californium.elements.MapBasedEndpointContext
Creates a context for a socket address, authenticated identity and arbitrary key/value pairs.
MapBasedEndpointContext(InetSocketAddress, Principal, Map<String, String>) - Constructor for class org.eclipse.californium.elements.MapBasedEndpointContext
Creates a new endpoint context with correlation context support.
MapBasedEndpointContext(InetSocketAddress, String, Principal, Map<String, String>) - Constructor for class org.eclipse.californium.elements.MapBasedEndpointContext
Creates a new endpoint context with correlation context support.
mark() - Method in class org.eclipse.californium.elements.util.DatagramReader
Mark current position to be reseted afterwards.
match(String, Set<String>, EndpointContext, EndpointContext) - Static method in class org.eclipse.californium.elements.EndpointContextUtil
Match endpoint contexts based on a set of keys.
matchPrincipals(Principal, Principal) - Method in class org.eclipse.californium.elements.PrincipalEndpointContextMatcher
Match principals.
MessageCallback - Interface in org.eclipse.californium.elements
 
MulticastNotSupportedException - Exception in org.eclipse.californium.elements
Exception indicating, that the connector doesn't support multicast messages.
MulticastNotSupportedException() - Constructor for exception org.eclipse.californium.elements.MulticastNotSupportedException
Create new instance.
MulticastNotSupportedException(String) - Constructor for exception org.eclipse.californium.elements.MulticastNotSupportedException
Create new instance with message.

N

NamedThreadFactory - Class in org.eclipse.californium.elements.util
The default thread factory
NamedThreadFactory(String) - Constructor for class org.eclipse.californium.elements.util.NamedThreadFactory
Creates a new factory and sets the thread group to Californium default group.
NamedThreadFactory(String, ThreadGroup) - Constructor for class org.eclipse.californium.elements.util.NamedThreadFactory
Creates a new factory.
nanoRealtime() - Static method in class org.eclipse.californium.elements.util.ClockUtil
Get expired realtime in nanoseconds.
nanoRealtime() - Method in interface org.eclipse.californium.elements.util.ClockUtil.Realtime
Get the system specific expired realtime in nanoseconds.
newConnector(InetSocketAddress) - Method in interface org.eclipse.californium.elements.ConnectorFactory
Creates a new network connector.
newFixedThreadPool(int, ThreadFactory) - Static method in class org.eclipse.californium.elements.util.ExecutorsUtil
Create a fixed thread pool.
newScheduledThreadPool(int, ThreadFactory) - Static method in class org.eclipse.californium.elements.util.ExecutorsUtil
Create a scheduled thread pool executor service.
newSingleThreadScheduledExecutor(ThreadFactory) - Static method in class org.eclipse.californium.elements.util.ExecutorsUtil
Create a single threaded scheduled executor service.
newThread(Runnable) - Method in class org.eclipse.californium.elements.util.NamedThreadFactory
Creates a new thread for executing a runnable.
NO_OPTIONS - Static variable in class org.eclipse.californium.elements.util.Base64
No options specified.
NO_PADDING - Static variable in class org.eclipse.californium.elements.util.Base64
Do not pad with equal sign.
NO_SEPARATOR - Static variable in class org.eclipse.californium.elements.util.StringUtil
Special character to signal, that no separator should be used when byte array are converted to hexadecimal strings.
NotForAndroid - Annotation Type in org.eclipse.californium.elements.util
Methods or classes marked by this annotation are not intended to be used for Android! Please use the documented alternatives, if available.

O

onConnecting() - Method in interface org.eclipse.californium.elements.MessageCallback
Called, when connector requires to establish a connection.
onConnecting() - Method in class org.eclipse.californium.elements.RawData
Callback, when connector requires to establish a connection.
onContextEstablished(EndpointContext) - Method in interface org.eclipse.californium.elements.MessageCallback
Called when the context information for an outbound message has been established.
onContextEstablished(EndpointContext) - Method in class org.eclipse.californium.elements.RawData
Callback, when context gets available.
onDtlsRetransmission(int) - Method in interface org.eclipse.californium.elements.MessageCallback
Called, when the dtls connector retransmits a handshake flight.
onDtlsRetransmission(int) - Method in class org.eclipse.californium.elements.RawData
Callback, when the dtls connector retransmits a handshake flight.
onError(Throwable) - Method in interface org.eclipse.californium.elements.MessageCallback
Called, when message was not sent by the connector.
onError(Throwable) - Method in class org.eclipse.californium.elements.RawData
Called, when message was not sent by the connector.
onEviction(V) - Method in interface org.eclipse.californium.elements.util.LeastRecentlyUsedCache.EvictionListener
Indicates that an entry has been evicted from the cache.
onSent() - Method in interface org.eclipse.californium.elements.MessageCallback
Called after message was sent by the connector.
onSent() - Method in class org.eclipse.californium.elements.RawData
Callback after message was sent by the connector.
ORDERED - Static variable in class org.eclipse.californium.elements.util.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
org.eclipse.californium.elements - package org.eclipse.californium.elements
 
org.eclipse.californium.elements.auth - package org.eclipse.californium.elements.auth
 
org.eclipse.californium.elements.util - package org.eclipse.californium.elements.util
 
outbound(byte[], EndpointContext, MessageCallback, boolean) - Static method in class org.eclipse.californium.elements.RawData
Instantiates a new raw data for a message to be sent to a peer.

P

PARAMETER_SEPARATOR - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
Separator for parameters.
PKCS12_ENDING - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
Ending for key stores with type SslContextUtil.PKCS12_TYPE.
PKCS12_TYPE - Static variable in class org.eclipse.californium.elements.util.SslContextUtil
Key store type PKCS12.
PreSharedKeyIdentity - Class in org.eclipse.californium.elements.auth
A principal representing an authenticated peer's identity as used in a pre-shared key handshake.
PreSharedKeyIdentity(String) - Constructor for class org.eclipse.californium.elements.auth.PreSharedKeyIdentity
Creates a new instance for an identity.
PreSharedKeyIdentity(String, String) - Constructor for class org.eclipse.californium.elements.auth.PreSharedKeyIdentity
Creates a new instance for an identity scoped to a virtual host.
PrincipalEndpointContextMatcher - Class in org.eclipse.californium.elements
Principal based endpoint context matcher.
PrincipalEndpointContextMatcher() - Constructor for class org.eclipse.californium.elements.PrincipalEndpointContextMatcher
 
put(K, V) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Puts an entry to the cache.

R

RawData - Class in org.eclipse.californium.elements
A container object for the data received or sent via a Connector.
RawDataChannel - Interface in org.eclipse.californium.elements
A processor for messages received from the network layer.
RawPublicKeyIdentity - Class in org.eclipse.californium.elements.auth
A principal representing an authenticated peer's RawPublicKey.
RawPublicKeyIdentity(PublicKey) - Constructor for class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
Creates a new instance for a given public key.
RawPublicKeyIdentity(byte[]) - Constructor for class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
Creates a new instance for a given ASN.1 subject public key info structure.
RawPublicKeyIdentity(byte[], String) - Constructor for class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
Creates a new instance for a given ASN.1 subject public key info structure.
read() - Method in class org.eclipse.californium.elements.util.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class org.eclipse.californium.elements.util.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
read(int) - Method in class org.eclipse.californium.elements.util.DatagramReader
Reads a sequence of bits from the stream.
readBytes(int) - Method in class org.eclipse.californium.elements.util.DatagramReader
Reads a sequence of bytes from the stream.
readBytesLeft() - Method in class org.eclipse.californium.elements.util.DatagramReader
Reads the complete sequence of bytes left in the stream.
readLong(int) - Method in class org.eclipse.californium.elements.util.DatagramReader
Reads a sequence of bits from the stream.
readNextByte() - Method in class org.eclipse.californium.elements.util.DatagramReader
Reads the next byte from the stream.
readOidValue(DatagramReader) - Static method in class org.eclipse.californium.elements.util.Asn1DerDecoder
Read value of ASN.1 OID into byte array.
readSequenceEntity(DatagramReader) - Static method in class org.eclipse.californium.elements.util.Asn1DerDecoder
Read entity of ASN.1 SEQUENCE into byte array.
readSequenceValue(DatagramReader) - Static method in class org.eclipse.californium.elements.util.Asn1DerDecoder
Read value of ASN.1 SEQUENCE into byte array.
readSubjectPublicKeyAlgorithm(byte[]) - Static method in class org.eclipse.californium.elements.util.Asn1DerDecoder
Read key algorithm from subjects public key.
receiveData(RawData) - Method in interface org.eclipse.californium.elements.RawDataChannel
Processes a raw message received from the network.
RelaxedDtlsEndpointContextMatcher - Class in org.eclipse.californium.elements
Relaxed endpoint context matcher.
RelaxedDtlsEndpointContextMatcher() - Constructor for class org.eclipse.californium.elements.RelaxedDtlsEndpointContextMatcher
Creates a new matcher.
remainingCapacity() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Gets the number of entries that can be added to this cache without the need for removing stale entries.
remove(K) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Removes an entry from the cache.
remove(K, V) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Removes provided entry from the cache.
reset() - Method in class org.eclipse.californium.elements.util.DatagramReader
Reset reader to last mark.
resumeEncoding() - Method in class org.eclipse.californium.elements.util.Base64.OutputStream
Resumes encoding of the stream.
running - Variable in class org.eclipse.californium.elements.UDPConnector
 

S

SCANDIUM_THREAD_GROUP - Static variable in class org.eclipse.californium.elements.util.NamedThreadFactory
The default thread group for Scandium threads.
send(RawData) - Method in interface org.eclipse.californium.elements.Connector
Sends a raw message to a client via the network.
send(RawData) - Method in class org.eclipse.californium.elements.UDPConnector
 
SerialExecutor - Class in org.eclipse.californium.elements.util
Serial executor.
SerialExecutor(Executor) - Constructor for class org.eclipse.californium.elements.util.SerialExecutor
Create serial executor
setCapacity(int) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Sets the maximum number of entries this cache can manage.
setEndpointContextMatcher(EndpointContextMatcher) - Method in interface org.eclipse.californium.elements.Connector
Set endpoint context matcher to be used for sending messages.
setEndpointContextMatcher(EndpointContextMatcher) - Method in class org.eclipse.californium.elements.UDPConnector
 
setEvictingOnReadAccess(boolean) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Set evict mode on read access.
setExpirationThreshold(long) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Sets the period of time after which an entry is to be considered stale if it hasn't be accessed.
setExpirationThreshold(long, TimeUnit) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Sets the period of time after which an entry is to be considered stale if it hasn't be accessed.
setRawDataReceiver(RawDataChannel) - Method in interface org.eclipse.californium.elements.Connector
Sets the handler for incoming messages.
setRawDataReceiver(RawDataChannel) - Method in class org.eclipse.californium.elements.UDPConnector
 
setRealtimeHandler(ClockUtil.Realtime) - Static method in class org.eclipse.californium.elements.util.ClockUtil
Set handler system specific expired realtime in nanoseconds.
setReceiveBufferSize(int) - Method in class org.eclipse.californium.elements.UDPConnector
 
setReceiverPacketSize(int) - Method in class org.eclipse.californium.elements.UDPConnector
 
setReceiverThreadCount(int) - Method in class org.eclipse.californium.elements.UDPConnector
 
setSendBufferSize(int) - Method in class org.eclipse.californium.elements.UDPConnector
 
setSenderThreadCount(int) - Method in class org.eclipse.californium.elements.UDPConnector
 
setUpdatingOnReadAccess(boolean) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Set update last-access time mode on read access.
shutdown() - Method in class org.eclipse.californium.elements.util.SerialExecutor
.
shutdownNow() - Method in class org.eclipse.californium.elements.util.SerialExecutor
.
shutdownNow(Collection<Runnable>) - Method in class org.eclipse.californium.elements.util.SerialExecutor
Shutdown this executor and add all pending task from SerialExecutor.tasks to the provided collection.
size() - Method in class org.eclipse.californium.elements.util.DatagramWriter
 
size() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Gets the cache's current number of entries.
SslContextUtil - Class in org.eclipse.californium.elements.util
Utility functions for SSLContext.
SslContextUtil() - Constructor for class org.eclipse.californium.elements.util.SslContextUtil
 
SslContextUtil.Credentials - Class in org.eclipse.californium.elements.util
Credentials.
SslContextUtil.InputStreamFactory - Interface in org.eclipse.californium.elements.util
Scheme specific input stream factory.
StandardCharsets - Interface in org.eclipse.californium.elements.util
Used standard character sets for californium.
start() - Method in interface org.eclipse.californium.elements.Connector
Starts the connector.
start() - Method in class org.eclipse.californium.elements.UDPConnector
 
start() - Method in class org.eclipse.californium.elements.UdpMulticastConnector
 
stop() - Method in interface org.eclipse.californium.elements.Connector
Stops the connector.
stop() - Method in class org.eclipse.californium.elements.UDPConnector
 
StrictDtlsEndpointContextMatcher - Class in org.eclipse.californium.elements
Strict endpoint context matcher.
StrictDtlsEndpointContextMatcher() - Constructor for class org.eclipse.californium.elements.StrictDtlsEndpointContextMatcher
Creates a new matcher.
StringUtil - Class in org.eclipse.californium.elements.util
String utils (as there are so many already out).
StringUtil() - Constructor for class org.eclipse.californium.elements.util.StringUtil
 
SUPPORT_HOST_STRING - Static variable in class org.eclipse.californium.elements.util.StringUtil
Flag indicating, that InetSocketAddress supports "getHostString".
suspendEncoding() - Method in class org.eclipse.californium.elements.util.Base64.OutputStream
Suspends encoding of the stream.

T

TcpEndpointContext - Class in org.eclipse.californium.elements
A endpoint context that explicitly supports TCP specific properties.
TcpEndpointContext(InetSocketAddress, String) - Constructor for class org.eclipse.californium.elements.TcpEndpointContext
Creates a new endpoint context from TCP connection ID.
TcpEndpointContext(InetSocketAddress, Principal, String...) - Constructor for class org.eclipse.californium.elements.TcpEndpointContext
Creates a new endpoint context.
TcpEndpointContextMatcher - Class in org.eclipse.californium.elements
TCP endpoint context matcher.
TcpEndpointContextMatcher() - Constructor for class org.eclipse.californium.elements.TcpEndpointContextMatcher
 
TIMER_THREAD_GROUP - Static variable in class org.eclipse.californium.elements.util.ExecutorsUtil
Thread group for timers.
TlsEndpointContext - Class in org.eclipse.californium.elements
A endpoint context that explicitly supports TLS specific properties.
TlsEndpointContext(InetSocketAddress, Principal, String, String, String) - Constructor for class org.eclipse.californium.elements.TlsEndpointContext
Creates a new correlation context from TLS session parameters.
TlsEndpointContextMatcher - Class in org.eclipse.californium.elements
TLS endpoint context matcher.
TlsEndpointContextMatcher() - Constructor for class org.eclipse.californium.elements.TlsEndpointContextMatcher
 
toByteArray() - Method in class org.eclipse.californium.elements.auth.X509CertPath
Gets a binary representation of this certificate chain using the PkiPath encoding.
toByteArray() - Method in class org.eclipse.californium.elements.util.DatagramWriter
Returns a byte array containing the sequence of bits written.
toString() - Method in class org.eclipse.californium.elements.AddressEndpointContext
 
toString() - Method in class org.eclipse.californium.elements.auth.PreSharedKeyIdentity
Gets a string representation of this principal.
toString() - Method in class org.eclipse.californium.elements.auth.RawPublicKeyIdentity
Gets a string representation of this principal.
toString() - Method in class org.eclipse.californium.elements.DtlsEndpointContext
 
toString() - Method in class org.eclipse.californium.elements.MapBasedEndpointContext
 
toString() - Method in class org.eclipse.californium.elements.TcpEndpointContext
 
toString() - Method in class org.eclipse.californium.elements.TlsEndpointContext
 
toString() - Method in class org.eclipse.californium.elements.UDPConnector
 
toString() - Method in class org.eclipse.californium.elements.UdpEndpointContext
 
toString() - Method in class org.eclipse.californium.elements.util.Bytes
 
toString() - Method in class org.eclipse.californium.elements.util.DatagramWriter
 
toString(InetAddress) - Static method in class org.eclipse.californium.elements.util.StringUtil
Get address as string for logging.
toString(InetSocketAddress) - Static method in class org.eclipse.californium.elements.util.StringUtil
Get socket address as string for logging.
trunc(String, int) - Static method in class org.eclipse.californium.elements.util.StringUtil
Truncate provided string.

U

UDPConnector - Class in org.eclipse.californium.elements
A Connector employing UDP as the transport protocol for exchanging data between networked clients and a server application.
UDPConnector() - Constructor for class org.eclipse.californium.elements.UDPConnector
Creates a connector on the wildcard address listening on an ephemeral port, i.e.
UDPConnector(InetSocketAddress) - Constructor for class org.eclipse.californium.elements.UDPConnector
Creates a connector bound to a given IP address and port.
UdpEndpointContext - Class in org.eclipse.californium.elements
A endpoint context for plain UDP.
UdpEndpointContext(InetSocketAddress) - Constructor for class org.eclipse.californium.elements.UdpEndpointContext
Creates a new context for a socket address.
UdpEndpointContextMatcher - Class in org.eclipse.californium.elements
Endpoint context matcher for UDP.
UdpEndpointContextMatcher() - Constructor for class org.eclipse.californium.elements.UdpEndpointContextMatcher
Create new instance of udp endpoint context matcher with enabled address check.
UdpEndpointContextMatcher(boolean) - Constructor for class org.eclipse.californium.elements.UdpEndpointContextMatcher
Create new instance of udp endpoint context matcher.
UdpMulticastConnector - Class in org.eclipse.californium.elements
Connector which inherits functionality of UDPConnector replacing DatagramSocket with a MulticastSocket to receive multicast requests in compliance to RFC7390 Group Communication for the Constrained Application Protocol (CoAP) to the registered multicast group.
UdpMulticastConnector(InetAddress, InetSocketAddress, InetAddress...) - Constructor for class org.eclipse.californium.elements.UdpMulticastConnector
Creates a connector bound to given multicast group and IP Port, using the specified network interface for receiving multicast packets Note: This constructor that allows you to specify a network interface was added to mitigate the issue described at https://github.com/eclipse/californium/issues/872.
UdpMulticastConnector(InetSocketAddress, InetAddress...) - Constructor for class org.eclipse.californium.elements.UdpMulticastConnector
Creates a connector bound to given multicast group and IP Port, using the default (any) network interface for receiving multicast packets Note: You might run into issues described at https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4701650 if you do not specify a network interface.
UNDEFINED - Static variable in class org.eclipse.californium.elements.UDPConnector
 
update(K) - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Update the last-access time.
URL_SAFE - Static variable in class org.eclipse.californium.elements.util.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.
US_ASCII - Static variable in interface org.eclipse.californium.elements.util.StandardCharsets
US ASCII character set.
UTF_8 - Static variable in interface org.eclipse.californium.elements.util.StandardCharsets
UTF 8 character set.

V

values() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Gets all connections contained in this cache.
valuesIterator() - Method in class org.eclipse.californium.elements.util.LeastRecentlyUsedCache
Gets iterator over all connections contained in this cache.

W

write(int) - Method in class org.eclipse.californium.elements.util.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class org.eclipse.californium.elements.util.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.
write(int, int) - Method in class org.eclipse.californium.elements.util.DatagramWriter
Writes a sequence of bits to the stream.
write(DatagramWriter) - Method in class org.eclipse.californium.elements.util.DatagramWriter
 
writeByte(byte) - Method in class org.eclipse.californium.elements.util.DatagramWriter
Writes one byte to the stream.
writeBytes(byte[]) - Method in class org.eclipse.californium.elements.util.DatagramWriter
Writes a sequence of bytes to the stream.
writeCurrentByte() - Method in class org.eclipse.californium.elements.util.DatagramWriter
Writes pending bits to the stream.
writeLong(long, int) - Method in class org.eclipse.californium.elements.util.DatagramWriter
Writes a sequence of bits to the stream.

X

X509CertPath - Class in org.eclipse.californium.elements.auth
A path of X.509 certificates asserting the identity of a peer.
X509CertPath(CertPath) - Constructor for class org.eclipse.californium.elements.auth.X509CertPath
Creates a new instance for a certificate chain.
A B C D E F G H I J K L M N O P R S T U V W X 

Copyright © 2019 Eclipse Foundation. All rights reserved.