T
- the mutator subtype, for method chainingpublic interface X509Builder<T extends X509Builder<T>> extends X509Mutator<T>
Modifier and Type | Method and Description |
---|---|
T |
x509Sha1Thumbprint(boolean enable)
If the
enable argument is true , compute the SHA-1 thumbprint of the first
X509Certificate in the configured x509CertificateChain , and set
the resulting value as the X509Mutator.x509Sha1Thumbprint(byte[]) parameter. |
T |
x509Sha256Thumbprint(boolean enable)
If the
enable argument is true , compute the SHA-256 thumbprint of the first
X509Certificate in the configured x509CertificateChain , and set
the resulting value as the X509Mutator.x509Sha256Thumbprint(byte[]) parameter. |
x509Chain, x509Sha1Thumbprint, x509Sha256Thumbprint, x509Url
T x509Sha1Thumbprint(boolean enable)
enable
argument is true
, compute the SHA-1 thumbprint of the first
X509Certificate
in the configured x509CertificateChain
, and set
the resulting value as the X509Mutator.x509Sha1Thumbprint(byte[])
parameter.
If no chain has been configured, or enable
is false
, the builder will not compute nor add a
x5t
value.
enable
- whether to compute the SHA-1 thumbprint on the first available X.509 Certificate and set
the resulting value as the x5t
value.T x509Sha256Thumbprint(boolean enable)
enable
argument is true
, compute the SHA-256 thumbprint of the first
X509Certificate
in the configured x509CertificateChain
, and set
the resulting value as the X509Mutator.x509Sha256Thumbprint(byte[])
parameter.
If no chain has been configured, or enable
is false
, the builder will not compute nor add a
x5t#S256
value.
enable
- whether to compute the SHA-256 thumbprint on the first available X.509 Certificate and set
the resulting value as the x5t#S256
value.Copyright © 2014–2025 jsonwebtoken.io. All rights reserved.