is_same


Description:

[ Version ( since = "2.34" ) ]
public bool is_same (TlsCertificate cert_two)

Check if two TlsCertificate objects represent the same certificate.

The raw DER byte data of the two certificates are checked for equality. This has the effect that two certificates may compare equal even if their issuer, private_key, or private_key_pem properties differ.

Parameters:

this

first certificate to compare

cert_two

second certificate to compare

Returns:

whether the same or not