corda / net.corda.core.identity / PartyAndCertificate / verify

verify

fun verify(trustAnchor: TrustAnchor): PKIXCertPathValidatorResult

Verify the certificate path is valid.

fun verify(trustAnchors: Set<TrustAnchor>): PKIXCertPathValidatorResult

Verify the certificate path is valid against one of the specified trust anchors.