Interface CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
CoAPEndpointBuilderFactory.CoAPEndpointBuilder
- Enclosing interface:
CoAPEndpointBuilderFactory
public static interface CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the CoAP component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
advancedCertificateVerifier
(String advancedCertificateVerifier) Set the AdvancedCertificateVerifier to use to determine trust in raw public keys.advancedCertificateVerifier
(org.eclipse.californium.scandium.dtls.x509.NewAdvancedCertificateVerifier advancedCertificateVerifier) Set the AdvancedCertificateVerifier to use to determine trust in raw public keys.advancedPskStore
(String advancedPskStore) Set the AdvancedPskStore to use for pre-shared key.advancedPskStore
(org.eclipse.californium.scandium.dtls.pskstore.AdvancedPskStore advancedPskStore) Set the AdvancedPskStore to use for pre-shared key.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.clientAuthentication
(org.eclipse.californium.elements.config.CertificateAuthenticationMode clientAuthentication) Sets the configuration options for server-side client-authentication requirements.notify
(boolean notify) Notify observers that the resource of this URI has changed, based on RFC 7641.Notify observers that the resource of this URI has changed, based on RFC 7641.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 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.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
notify
Notify observers that the resource of this URI has changed, based on RFC 7641. Use this flag on a destination endpoint, with a URI that matches an existing source endpoint URI. The option is a:boolean
type. Default: false Group: producer- Parameters:
notify
- the value to set- Returns:
- the dsl builder
-
notify
Notify observers that the resource of this URI has changed, based on RFC 7641. Use this flag on a destination endpoint, with a URI that matches an existing source endpoint URI. The option will be converted to aboolean
type. Default: false Group: producer- Parameters:
notify
- the value to set- Returns:
- the dsl builder
-
advancedCertificateVerifier
default CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder advancedCertificateVerifier(org.eclipse.californium.scandium.dtls.x509.NewAdvancedCertificateVerifier advancedCertificateVerifier) Set the AdvancedCertificateVerifier to use to determine trust in raw public keys. The option is a:org.eclipse.californium.scandium.dtls.x509.NewAdvancedCertificateVerifier
type. Group: security- Parameters:
advancedCertificateVerifier
- the value to set- Returns:
- the dsl builder
-
advancedCertificateVerifier
default CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder advancedCertificateVerifier(String advancedCertificateVerifier) Set the AdvancedCertificateVerifier to use to determine trust in raw public keys. The option will be converted to aorg.eclipse.californium.scandium.dtls.x509.NewAdvancedCertificateVerifier
type. Group: security- Parameters:
advancedCertificateVerifier
- the value to set- Returns:
- the dsl builder
-
advancedPskStore
default CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder advancedPskStore(org.eclipse.californium.scandium.dtls.pskstore.AdvancedPskStore advancedPskStore) Set the AdvancedPskStore to use for pre-shared key. The option is a:org.eclipse.californium.scandium.dtls.pskstore.AdvancedPskStore
type. Group: security- Parameters:
advancedPskStore
- the value to set- Returns:
- the dsl builder
-
advancedPskStore
default CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder advancedPskStore(String advancedPskStore) Set the AdvancedPskStore to use for pre-shared key. The option will be converted to aorg.eclipse.californium.scandium.dtls.pskstore.AdvancedPskStore
type. Group: security- Parameters:
advancedPskStore
- the value to set- Returns:
- the dsl builder
-
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:java.lang.String
type. Group: security- 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:java.lang.String
type. Group: security- Parameters:
cipherSuites
- the value to set- Returns:
- the dsl builder
-
clientAuthentication
default CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder clientAuthentication(org.eclipse.californium.elements.config.CertificateAuthenticationMode 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:org.eclipse.californium.elements.config.CertificateAuthenticationMode
type. Group: security- Parameters:
clientAuthentication
- the value to set- Returns:
- the dsl builder
-
clientAuthentication
default CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder 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 will be converted to aorg.eclipse.californium.elements.config.CertificateAuthenticationMode
type. Group: security- 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:java.security.PrivateKey
type. Group: security- 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 ajava.security.PrivateKey
type. Group: security- Parameters:
privateKey
- the value to set- Returns:
- the dsl builder
-
publicKey
Set the configured public key for use with Raw Public Key. The option is a:java.security.PublicKey
type. Group: security- 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 ajava.security.PublicKey
type. Group: security- Parameters:
publicKey
- the value to set- Returns:
- the dsl builder
-
recommendedCipherSuitesOnly
default CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder 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:boolean
type. Default: true Group: security- Parameters:
recommendedCipherSuitesOnly
- the value to set- Returns:
- the dsl builder
-
recommendedCipherSuitesOnly
default CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder 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 aboolean
type. Default: true Group: security- Parameters:
recommendedCipherSuitesOnly
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder 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:org.apache.camel.support.jsse.SSLContextParameters
type. Group: security- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default CoAPEndpointBuilderFactory.CoAPEndpointProducerBuilder 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 aorg.apache.camel.support.jsse.SSLContextParameters
type. Group: security- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-