public class SecurityParams extends Object implements VisitableConfig
| Modifier and Type | Field and Description |
|---|---|
List<CertificateKeyAlgorithm> |
certificateKeyAlgorithms
List of supported certificate key algorithms.
|
List<CipherSuite> |
cipherSuites
List of preselected cipher suites.
|
List<Curve> |
curves
List of DTLS curves (supported groups).\nDefaults to all supported curves of the JCE at runtime.
|
ExtendedMasterSecretModeName |
extendedMasterSecretMode
Extended master secret mode.
|
KeyStore |
keyStore
The keystore configuration.
|
List<CipherSuite> |
preselectedCipherSuites
List of preselected cipher suites.
|
PreSharedKeyParams |
preSharedKeyParams
The pre shared key configuration.
|
boolean |
recommendedCipherSuitesOnly
Use recommended cipher suites only.
|
boolean |
recommendedCurvesOnly
Use recommended ECC curves/groups only.
|
boolean |
recommendedSignatureAndHashAlgorithmsOnly
Use recommended signature- and hash-algorithms only.
|
List<SignatureAlgorithm> |
signatureAlgorithms
List of supported signature and hash algorithms with hash algorithms.\nDefaults to SHA256 with ECDSA and SHA256 with RSA.
|
ConnectionId |
supportConnectionId
Support use of Connection ID's.
|
boolean |
truncateCertificatePathForValidation
Truncate certificate path according the available trusted certificates before validation.
|
TrustStore |
trustStore
The truststore configuration.
|
| Constructor and Description |
|---|
SecurityParams() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ConfigVisitor visitor)
Accept visitor.
|
boolean |
equals(Object obj) |
int |
hashCode() |
@Parameter @Optional @Summary(value="The pre shared key configuration.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public PreSharedKeyParams preSharedKeyParams
@Parameter @Optional @Summary(value="The keystore configuration.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public KeyStore keyStore
@Parameter @Optional @Summary(value="The truststore configuration.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public TrustStore trustStore
@Parameter @Optional(defaultValue="true") @Summary(value="Truncate certificate path according the available trusted certificates before validation.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public boolean truncateCertificatePathForValidation
@Parameter @Optional(defaultValue="true") @Summary(value="Use recommended cipher suites only.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public boolean recommendedCipherSuitesOnly
@Parameter @Optional(defaultValue="true") @Summary(value="Use recommended ECC curves/groups only.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public boolean recommendedCurvesOnly
@Parameter @Optional(defaultValue="true") @Summary(value="Use recommended signature- and hash-algorithms only.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public boolean recommendedSignatureAndHashAlgorithmsOnly
@Parameter @Optional @NullSafe @Summary(value="List cipher suites that are preselected.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public List<CipherSuite> preselectedCipherSuites
@Parameter @Optional @NullSafe @Summary(value="Cipher suite(s) to use. Leave empty when preselection list is given.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public List<CipherSuite> cipherSuites
@Parameter @Optional @NullSafe @Summary(value="List of DTLS curves (supported groups).\nDefaults to all supported curves of the JCE at runtime.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public List<Curve> curves
@Parameter @Optional @NullSafe @Summary(value="List of supported signature and hash algorithms with hash algorithms.\nDefaults to SHA256 with ECDSA and SHA256 with RSA.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public List<SignatureAlgorithm> signatureAlgorithms
@Parameter @Optional @NullSafe @Summary(value="List of supported certificate key algorithms.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public List<CertificateKeyAlgorithm> certificateKeyAlgorithms
@Parameter @Optional(defaultValue="ENABLED") @Summary(value="The extended master secret mode to use.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public ExtendedMasterSecretModeName extendedMasterSecretMode
@Parameter @Optional @Summary(value="Support use of Connection ID\'s. (rfc9146)") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public ConnectionId supportConnectionId
public void accept(ConfigVisitor visitor) throws ConfigException
accept in interface VisitableConfigvisitor - The visitor of the configuration object.ConfigException - When the visit was not successful.public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2019–2024 Teslanet.nl. All rights reserved.