Certificate
Relaynet PKI Certificate.
Parameters
certificate
Bouncy Castle representation of the X.509 certificate
Properties
Link copied to clipboard
                  Return the Common Name of the subject
Link copied to clipboard
                  The expiry date of the certificate.
Link copied to clipboard
                  Return the Common Name of the issuer
Link copied to clipboard
                  The start date of the certificate.
Link copied to clipboard
                  The public key of the subject.
Functions
Link copied to clipboard
                  fun getCertificationPath(intermediateCAs: Collection<Certificate>, trustedCAs: Collection<Certificate>): Array<Certificate>
Get the certification path (aka certificate chain) between the current certificate and one of the trustedCAs.
Link copied to clipboard
                  Report whether potentialIssuer's Distinguished Name matches that of the issuer of the current certificate.