public class PartyAndCertificate
A full party plus the X.509 certificate and path linking the party back to a trust root. Equality of
class PartyAndCertificate
instances is based on the party only, as certificate and path are data associated with the party,
not part of the identifier themselves.
class PartyAndCertificate
public PartyAndCertificate(@NotNull java.security.cert.CertPath certPath)
A full party plus the X.509 certificate and path linking the party back to a trust root. Equality of
class PartyAndCertificate
instances is based on the party only, as certificate and path are data associated with the party,
not part of the identifier themselves.
class PartyAndCertificate
@NotNull public java.security.cert.X509Certificate getCertificate()
@NotNull public Party getParty()
@NotNull public java.security.PublicKey getOwningKey()
@NotNull public CordaX500Name getName()
@NotNull public Party component1()
@NotNull public java.security.cert.X509Certificate component2()
public boolean equals(@Nullable java.lang.Object other)
public int hashCode()
@NotNull public java.lang.String toString()
@NotNull public java.security.cert.PKIXCertPathValidatorResult verify(@NotNull java.security.cert.TrustAnchor trustAnchor)
Verify the certificate path is valid.
@NotNull public java.security.cert.PKIXCertPathValidatorResult verify(@NotNull java.util.Set<? extends java.security.cert.TrustAnchor> trustAnchors)
Verify the certificate path is valid against one of the specified trust anchors.
@NotNull public java.security.cert.CertPath getCertPath()