Class TlsUtil
java.lang.Object
io.kroxylicious.proxy.internal.tls.TlsUtil
Utility class for TLS credential validation.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidvalidateCertificateChain(PrivateKey privateKey, X509Certificate[] certChain) Validates the certificate chain integrity and parameters.
-
Method Details
-
validateCertificateChain
public static void validateCertificateChain(@NonNull PrivateKey privateKey, @NonNull X509Certificate[] certChain) Validates the certificate chain integrity and parameters.- Parameters:
privateKey- The private key (for key-certificate matching validation)certChain- The certificate chain to validate- Throws:
IllegalArgumentException- if validation fails
-