Interface CoAPEndpointBuilderFactory.CoAPEndpointBuilder
- All Superinterfaces:
CoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder,CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder,org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
CoAPEndpointBuilderFactory
public static interface CoAPEndpointBuilderFactory.CoAPEndpointBuilder
extends CoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder, CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder
Builder for endpoint for the CoAP component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()Sets the alias used to query the KeyStore for the private key and certificate.cipherSuites(String cipherSuites) Sets the cipherSuites String.clientAuthentication(String clientAuthentication) Sets the configuration options for server-side client-authentication requirements.privateKey(String privateKey) Set the configured private key for use with Raw Public Key.privateKey(PrivateKey privateKey) Set the configured private key for use with Raw Public Key.Set the PskStore to use for pre-shared key.pskStore(org.eclipse.californium.scandium.dtls.pskstore.PskStore pskStore) Set the PskStore to use for pre-shared key.Set the configured public key for use with Raw Public Key.Set the configured public key for use with Raw Public Key.recommendedCipherSuitesOnly(boolean recommendedCipherSuitesOnly) The CBC cipher suites are not recommended.recommendedCipherSuitesOnly(String recommendedCipherSuitesOnly) The CBC cipher suites are not recommended.sslContextParameters(String sslContextParameters) Set the SSLContextParameters object for setting up TLS.sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) Set the SSLContextParameters object for setting up TLS.trustedRpkStore(String trustedRpkStore) Set the TrustedRpkStore to use to determine trust in raw public keys.trustedRpkStore(org.eclipse.californium.scandium.dtls.rpkstore.TrustedRpkStore trustedRpkStore) Set the TrustedRpkStore to use to determine trust in raw public keys.Methods inherited from interface org.apache.camel.builder.endpoint.dsl.CoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder
coapMethodRestrict, observable, observable, observe, observeMethods inherited from interface org.apache.camel.builder.endpoint.dsl.CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder
notify, notifyMethods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
- Specified by:
advancedin interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
advancedin interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder
-
alias
Sets the alias used to query the KeyStore for the private key and certificate. This parameter is used when we are enabling TLS with certificates on the service side, and similarly on the client side when TLS is used with certificates and client authentication. If the parameter is not specified then the default behavior is to use the first alias in the keystore that contains a key entry. This configuration parameter does not apply to configuring TLS via a Raw Public Key or a Pre-Shared Key. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
aliasin interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
aliasin interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
alias- the value to set- Returns:
- the dsl builder
-
cipherSuites
Sets the cipherSuites String. This is a comma separated String of ciphersuites to configure. If it is not specified, then it falls back to getting the ciphersuites from the sslContextParameters object. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
cipherSuitesin interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
cipherSuitesin interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
cipherSuites- the value to set- Returns:
- the dsl builder
-
clientAuthentication
default CoAPEndpointBuilderFactory.CoAPEndpointBuilder clientAuthentication(String clientAuthentication) Sets the configuration options for server-side client-authentication requirements. The value must be one of NONE, WANT, REQUIRE. If this value is not specified, then it falls back to checking the sslContextParameters.getServerParameters().getClientAuthentication() value. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
clientAuthenticationin interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
clientAuthenticationin interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
clientAuthentication- the value to set- Returns:
- the dsl builder
-
privateKey
Set the configured private key for use with Raw Public Key. The option is a: <code>java.security.PrivateKey</code> type. Group: security- Specified by:
privateKeyin interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
privateKeyin interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
privateKey- the value to set- Returns:
- the dsl builder
-
privateKey
Set the configured private key for use with Raw Public Key. The option will be converted to a <code>java.security.PrivateKey</code> type. Group: security- Specified by:
privateKeyin interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
privateKeyin interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
privateKey- the value to set- Returns:
- the dsl builder
-
pskStore
default CoAPEndpointBuilderFactory.CoAPEndpointBuilder pskStore(org.eclipse.californium.scandium.dtls.pskstore.PskStore pskStore) Set the PskStore to use for pre-shared key. The option is a: <code>org.eclipse.californium.scandium.dtls.pskstore.PskStore</code> type. Group: security- Specified by:
pskStorein interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
pskStorein interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
pskStore- the value to set- Returns:
- the dsl builder
-
pskStore
Set the PskStore to use for pre-shared key. The option will be converted to a <code>org.eclipse.californium.scandium.dtls.pskstore.PskStore</code> type. Group: security- Specified by:
pskStorein interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
pskStorein interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
pskStore- the value to set- Returns:
- the dsl builder
-
publicKey
Set the configured public key for use with Raw Public Key. The option is a: <code>java.security.PublicKey</code> type. Group: security- Specified by:
publicKeyin interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
publicKeyin interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
publicKey- the value to set- Returns:
- the dsl builder
-
publicKey
Set the configured public key for use with Raw Public Key. The option will be converted to a <code>java.security.PublicKey</code> type. Group: security- Specified by:
publicKeyin interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
publicKeyin interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
publicKey- the value to set- Returns:
- the dsl builder
-
recommendedCipherSuitesOnly
default CoAPEndpointBuilderFactory.CoAPEndpointBuilder recommendedCipherSuitesOnly(boolean recommendedCipherSuitesOnly) The CBC cipher suites are not recommended. If you want to use them, you first need to set the recommendedCipherSuitesOnly option to false. The option is a: <code>boolean</code> type. Default: true Group: security- Specified by:
recommendedCipherSuitesOnlyin interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
recommendedCipherSuitesOnlyin interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
recommendedCipherSuitesOnly- the value to set- Returns:
- the dsl builder
-
recommendedCipherSuitesOnly
default CoAPEndpointBuilderFactory.CoAPEndpointBuilder recommendedCipherSuitesOnly(String recommendedCipherSuitesOnly) The CBC cipher suites are not recommended. If you want to use them, you first need to set the recommendedCipherSuitesOnly option to false. The option will be converted to a <code>boolean</code> type. Default: true Group: security- Specified by:
recommendedCipherSuitesOnlyin interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
recommendedCipherSuitesOnlyin interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
recommendedCipherSuitesOnly- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default CoAPEndpointBuilderFactory.CoAPEndpointBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) Set the SSLContextParameters object for setting up TLS. This is required for coapstcp, and for coaps when we are using certificates for TLS (as opposed to RPK or PKS). The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Specified by:
sslContextParametersin interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
sslContextParametersin interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
sslContextParameters- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default CoAPEndpointBuilderFactory.CoAPEndpointBuilder sslContextParameters(String sslContextParameters) Set the SSLContextParameters object for setting up TLS. This is required for coapstcp, and for coaps when we are using certificates for TLS (as opposed to RPK or PKS). The option will be converted to a <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Specified by:
sslContextParametersin interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
sslContextParametersin interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
sslContextParameters- the value to set- Returns:
- the dsl builder
-
trustedRpkStore
default CoAPEndpointBuilderFactory.CoAPEndpointBuilder trustedRpkStore(org.eclipse.californium.scandium.dtls.rpkstore.TrustedRpkStore trustedRpkStore) Set the TrustedRpkStore to use to determine trust in raw public keys. The option is a: <code>org.eclipse.californium.scandium.dtls.rpkstore.TrustedRpkStore</code> type. Group: security- Specified by:
trustedRpkStorein interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
trustedRpkStorein interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
trustedRpkStore- the value to set- Returns:
- the dsl builder
-
trustedRpkStore
Set the TrustedRpkStore to use to determine trust in raw public keys. The option will be converted to a <code>org.eclipse.californium.scandium.dtls.rpkstore.TrustedRpkStore</code> type. Group: security- Specified by:
trustedRpkStorein interfaceCoAPEndpointBuilderFactory.CoAPEndpointConsumerBuilder- Specified by:
trustedRpkStorein interfaceCoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder- Parameters:
trustedRpkStore- the value to set- Returns:
- the dsl builder
-