TlsCertificate.isSame

Check if two gio.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.

class TlsCertificate
bool
isSame

Parameters

certTwo TlsCertificate

second certificate to compare

Return Value

Type: bool

whether the same or not

Meta

Since

2.34