| Package | Description |
|---|---|
| org.eclipse.californium.scandium.config | |
| org.eclipse.californium.scandium.dtls | |
| org.eclipse.californium.scandium.dtls.cipher |
| Modifier and Type | Method and Description |
|---|---|
List<SignatureAndHashAlgorithm> |
DtlsConnectorConfig.getSupportedSignatureAlgorithms()
Gets the supported signature and hash algorithms the connector should
advertise in a DTLS handshake.
|
| Modifier and Type | Method and Description |
|---|---|
DtlsConnectorConfig.Builder |
DtlsConnectorConfig.Builder.setSupportedSignatureAlgorithms(SignatureAndHashAlgorithm... supportedSignatureAlgorithms)
Sets the signature algorithms supported by the connector.
|
| Modifier and Type | Method and Description |
|---|---|
DtlsConnectorConfig.Builder |
DtlsConnectorConfig.Builder.setSupportedSignatureAlgorithms(List<SignatureAndHashAlgorithm> supportedSignatureAlgorithms)
Sets the signature algorithms supported by the connector.
|
| Modifier and Type | Field and Description |
|---|---|
static SignatureAndHashAlgorithm |
SignatureAndHashAlgorithm.INTRINSIC_WITH_ED25519
INTRINSIC_WITH_ED25519.
|
static SignatureAndHashAlgorithm |
SignatureAndHashAlgorithm.INTRINSIC_WITH_ED448
INTRINSIC_WITH_ED448.
|
protected SignatureAndHashAlgorithm |
ClientHandshaker.negotiatedSignatureAndHashAlgorithm |
static SignatureAndHashAlgorithm |
SignatureAndHashAlgorithm.SHA1_WITH_ECDSA
SHA1_with_Ecdsa.
|
static SignatureAndHashAlgorithm |
SignatureAndHashAlgorithm.SHA256_WITH_ECDSA
SHA256_with_Ecdsa.
|
static SignatureAndHashAlgorithm |
SignatureAndHashAlgorithm.SHA256_WITH_RSA
SHA256_with_Rsa.
|
static SignatureAndHashAlgorithm |
SignatureAndHashAlgorithm.SHA384_WITH_ECDSA
SHA384_with_Ecdsa.
|
| Modifier and Type | Field and Description |
|---|---|
static List<SignatureAndHashAlgorithm> |
SignatureAndHashAlgorithm.DEFAULT
Default list of supported signature and hash algorithms.
|
protected List<SignatureAndHashAlgorithm> |
ClientHandshaker.supportedSignatureAlgorithms
The list of the signature and hash algorithms supported by the client
ordered by preference.
|
| Modifier and Type | Method and Description |
|---|---|
SignatureAndHashAlgorithm |
DTLSSession.getSignatureAndHashAlgorithm()
Gets the negotiated signature and hash algorithm to be used to sign the
server key exchange message.
|
SignatureAndHashAlgorithm |
CertificateRequest.getSignatureAndHashAlgorithm(List<X509Certificate> chain)
Gets a signature algorithm that is compatible with a given certificate chain.
|
SignatureAndHashAlgorithm |
CertificateRequest.getSignatureAndHashAlgorithm(PublicKey key)
Gets the signature algorithm that is compatible with a given public key.
|
static SignatureAndHashAlgorithm |
SignatureAndHashAlgorithm.getSupportedSignatureAlgorithm(List<SignatureAndHashAlgorithm> supportedSignatureAlgorithms,
PublicKey key)
Gets a signature and hash algorithm that is compatible with a given
public key.
|
static SignatureAndHashAlgorithm |
SignatureAndHashAlgorithm.valueOf(String jcaName)
Get signature and hash algorithm from JCA name.
|
| Modifier and Type | Method and Description |
|---|---|
static List<SignatureAndHashAlgorithm> |
SignatureAndHashAlgorithm.getCommonSignatureAlgorithms(List<SignatureAndHashAlgorithm> proposedSignatureAndHashAlgorithms,
List<SignatureAndHashAlgorithm> supportedSignatureAndHashAlgorithms)
Get the common signature and hash algorithms in the order of the proposed
list.
|
static List<SignatureAndHashAlgorithm> |
SignatureAndHashAlgorithm.getDefaultSignatureAlgorithms(List<X509Certificate> certificateChain)
Get list of default signature and hash algorithms including the
algorithms used by the certificate chain.
|
static List<SignatureAndHashAlgorithm> |
SignatureAndHashAlgorithm.getDefaultSignatureAlgorithms(PublicKey publicKey)
Get list of default signature and hash algorithms including the
algorithms usable by the public key.
|
static List<SignatureAndHashAlgorithm> |
SignatureAndHashAlgorithm.getEcdsaCompatibleSignatureAlgorithms(List<SignatureAndHashAlgorithm> signatureAndHashAlgorithms)
Get ECDSA compatible signature and hash algorithms.
|
List<SignatureAndHashAlgorithm> |
CertificateRequest.getSupportedSignatureAlgorithms()
Gets the signature algorithms that the server is able to verify.
|
List<SignatureAndHashAlgorithm> |
SignatureAlgorithmsExtension.getSupportedSignatureAndHashAlgorithms() |
| Modifier and Type | Method and Description |
|---|---|
void |
CertificateRequest.addSignatureAlgorithm(SignatureAndHashAlgorithm signatureAndHashAlgorithm)
Appends a signature and hash algorithm to the end of the list of supported algorithms.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CertificateRequest.addSignatureAlgorithms(List<SignatureAndHashAlgorithm> signatureAndHashAlgorithms)
Appends a list of signature and hash algorithms to the end of the list of supported algorithms.
|
static List<SignatureAndHashAlgorithm> |
SignatureAndHashAlgorithm.getCommonSignatureAlgorithms(List<SignatureAndHashAlgorithm> proposedSignatureAndHashAlgorithms,
List<SignatureAndHashAlgorithm> supportedSignatureAndHashAlgorithms)
Get the common signature and hash algorithms in the order of the proposed
list.
|
static List<SignatureAndHashAlgorithm> |
SignatureAndHashAlgorithm.getCommonSignatureAlgorithms(List<SignatureAndHashAlgorithm> proposedSignatureAndHashAlgorithms,
List<SignatureAndHashAlgorithm> supportedSignatureAndHashAlgorithms)
Get the common signature and hash algorithms in the order of the proposed
list.
|
static List<SignatureAndHashAlgorithm> |
SignatureAndHashAlgorithm.getEcdsaCompatibleSignatureAlgorithms(List<SignatureAndHashAlgorithm> signatureAndHashAlgorithms)
Get ECDSA compatible signature and hash algorithms.
|
static SignatureAndHashAlgorithm |
SignatureAndHashAlgorithm.getSupportedSignatureAlgorithm(List<SignatureAndHashAlgorithm> supportedSignatureAlgorithms,
PublicKey key)
Gets a signature and hash algorithm that is compatible with a given
public key.
|
static boolean |
SignatureAndHashAlgorithm.isSignedWithSupportedAlgorithms(List<SignatureAndHashAlgorithm> supportedSignatureAlgorithms,
List<X509Certificate> certificateChain)
Checks if all of a given certificates in the chain have been signed using
a algorithm supported by the server.
|
void |
CertificateRequest.selectSignatureAlgorithms(List<SignatureAndHashAlgorithm> supportedSignatureAndHashAlgorithms)
Select received supported signature and hash algorithms by the supported
signature and hash algorithms of this peer.
|
| Constructor and Description |
|---|
CertificateVerify(SignatureAndHashAlgorithm signatureAndHashAlgorithm,
PrivateKey clientPrivateKey,
List<HandshakeMessage> handshakeMessages,
InetSocketAddress peerAddress)
Called by client to create its CertificateVerify message.
|
EcdhEcdsaServerKeyExchange(SignatureAndHashAlgorithm signatureAndHashAlgorithm,
XECDHECryptography ecdhe,
PrivateKey serverPrivateKey,
Random clientRandom,
Random serverRandom,
InetSocketAddress peerAddress)
Called by server with generated ephemeral keys and generates signature.
|
| Constructor and Description |
|---|
CertificateRequest(List<CertificateRequest.ClientCertificateType> certificateTypes,
List<SignatureAndHashAlgorithm> supportedSignatureAlgorithms,
List<X500Principal> certificateAuthorities,
InetSocketAddress peerAddress) |
ClientHello(ProtocolVersion version,
DTLSSession session,
List<SignatureAndHashAlgorithm> supportedSignatureAndHashAlgorithms,
List<CertificateType> supportedClientCertificateTypes,
List<CertificateType> supportedServerCertificateTypes,
List<XECDHECryptography.SupportedGroup> supportedGroups)
Creates a Client Hello message to be used for resuming an
existing DTLS session.
|
ClientHello(ProtocolVersion version,
List<CipherSuite> supportedCipherSuites,
List<SignatureAndHashAlgorithm> supportedSignatureAndHashAlgorithms,
List<CertificateType> supportedClientCertificateTypes,
List<CertificateType> supportedServerCertificateTypes,
List<XECDHECryptography.SupportedGroup> supportedGroups,
InetSocketAddress peerAddress)
Creates a Client Hello message to be sent to a server.
|
SignatureAlgorithmsExtension(List<SignatureAndHashAlgorithm> signatureAndHashAlgorithms)
Creates an instance using the signature algorithms and the hash
algorithms codes
|
| Modifier and Type | Method and Description |
|---|---|
SignatureAndHashAlgorithm |
CipherSuiteParameters.getSelectedSignature()
Get selected signature and hash algorithm for signing.
|
| Modifier and Type | Method and Description |
|---|---|
List<SignatureAndHashAlgorithm> |
CipherSuiteParameters.getSignatures() |
| Modifier and Type | Method and Description |
|---|---|
void |
CipherSuiteParameters.selectSignatureAndHashAlgorithm(SignatureAndHashAlgorithm signature)
Select signature and hashe algorithm.
|
| Constructor and Description |
|---|
CipherSuiteParameters(PublicKey publicKey,
List<X509Certificate> certificateChain,
boolean clientAuthenticationRequired,
boolean clientAuthenticationWanted,
List<CipherSuite> cipherSuites,
List<CertificateType> serverCertTypes,
List<CertificateType> clientCertTypes,
List<XECDHECryptography.SupportedGroup> supportedGroups,
List<SignatureAndHashAlgorithm> signatures,
SupportedPointFormatsExtension.ECPointFormat format)
Create common cipher suites and parameters.
|
Copyright © 2023 Eclipse Foundation. All rights reserved.