static fun whitelistClients(knownClientsFile: Path!): TrustOptions!
(source)
Require clients to present known certificates, or CA-signed certificates.
If a certificate is not CA-signed, then its common name and fingerprint must be present in the knownClientsFile
.
knownClientsFile
- Path!: The path to the file containing fingerprints by common name.
Return
TrustOptions!: A Vert.x TrustOptions
.
static fun whitelistClients(repository: FingerprintRepository!): TrustOptions!
(source)
Require clients to present known certificates, or CA-signed certificates.
If a certificate is not CA-signed, then its common name and fingerprint must be present in the knownClientsFile
.
repository
- FingerprintRepository!: The repository containing fingerprints by common name.
Return
TrustOptions!: A Vert.x TrustOptions
.
static fun whitelistClients(knownClientsFile: Path!, acceptCASigned: Boolean): TrustOptions!
(source)
Require clients to present known certificates.
The common name and fingerprint for a client certificate must be present in knownClientsFile
.
knownClientsFile
- Path!: The path to the file containing fingerprints by common name.
acceptCASigned
- Boolean: If true
, CA-signed certificates will always be accepted.
Return
TrustOptions!: A Vert.x TrustOptions
.
static fun whitelistClients(repository: FingerprintRepository!, acceptCASigned: Boolean): TrustOptions!
(source)
Require clients to present known certificates.
The common name and fingerprint for a client certificate must be present in knownClientsFile
.
repository
- FingerprintRepository!: The repository containing fingerprints by common name.
acceptCASigned
- Boolean: If true
, CA-signed certificates will always be accepted.
Return
TrustOptions!: A Vert.x TrustOptions
.
static fun whitelistClients(knownClientsFile: Path!, tmf: TrustManagerFactory!): TrustOptions!
(source)
Require clients to present known certificates, or CA-signed certificates.
If a certificate is not CA-signed, then its common name and fingerprint must be present in the knownClientsFile
.
knownClientsFile
- Path!: The path to the file containing fingerprints by common name.
tmf
- TrustManagerFactory!: A TrustManagerFactory
for checking client certificates against a CA.
Return
TrustOptions!: A Vert.x TrustOptions
.
static fun whitelistClients(repository: FingerprintRepository!, tmf: TrustManagerFactory!): TrustOptions!
(source)
Require clients to present known certificates, or CA-signed certificates.
If a certificate is not CA-signed, then its common name and fingerprint must be present in the knownClientsFile
.
repository
- FingerprintRepository!: The repository containing fingerprints by common name.
tmf
- TrustManagerFactory!: A TrustManagerFactory
for checking client certificates against a CA.
Return
TrustOptions!: A Vert.x TrustOptions
.