public class SslClientCertAttribute extends Object implements ExchangeAttribute
| Modifier and Type | Class and Description |
|---|---|
static class |
SslClientCertAttribute.Builder |
| Modifier and Type | Field and Description |
|---|---|
static String |
BEGIN_CERT |
static String |
END_CERT |
static SslClientCertAttribute |
INSTANCE |
| Constructor and Description |
|---|
SslClientCertAttribute() |
| Modifier and Type | Method and Description |
|---|---|
String |
readAttribute(io.vertx.ext.web.RoutingContext exchange)
Resolve the attribute from the HTTP server exchange.
|
static String |
toPem(X509Certificate certificate) |
void |
writeAttribute(io.vertx.ext.web.RoutingContext exchange,
String newValue)
Sets a new value for the attribute.
|
public static final SslClientCertAttribute INSTANCE
public static final String BEGIN_CERT
public static final String END_CERT
public static String toPem(X509Certificate certificate) throws CertificateEncodingException
CertificateEncodingExceptionpublic String readAttribute(io.vertx.ext.web.RoutingContext exchange)
ExchangeAttributereadAttribute in interface ExchangeAttributeexchange - The exchangepublic void writeAttribute(io.vertx.ext.web.RoutingContext exchange,
String newValue)
throws ReadOnlyAttributeException
ExchangeAttributewriteAttribute in interface ExchangeAttributeexchange - The exchangenewValue - The new value for the attributeReadOnlyAttributeException - when attribute cannot be writtenCopyright © 2021 JBoss by Red Hat. All rights reserved.