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
Constructor and Description |
---|
PartyAndCertificate(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. |
Modifier and Type | Method and Description |
---|---|
Party |
component1() |
java.security.cert.X509Certificate |
component2() |
boolean |
equals(java.lang.Object other) |
java.security.cert.CertPath |
getCertPath() |
java.security.cert.X509Certificate |
getCertificate() |
CordaX500Name |
getName() |
java.security.PublicKey |
getOwningKey() |
Party |
getParty() |
int |
hashCode() |
java.lang.String |
toString() |
java.security.cert.PKIXCertPathValidatorResult |
verify(java.security.cert.TrustAnchor trustAnchor)
Verify the certificate path is valid.
|
public PartyAndCertificate(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
public java.security.cert.X509Certificate getCertificate()
public Party getParty()
public java.security.PublicKey getOwningKey()
public CordaX500Name getName()
public Party component1()
public java.security.cert.X509Certificate component2()
public boolean equals(java.lang.Object other)
public int hashCode()
public java.lang.String toString()
public java.security.cert.PKIXCertPathValidatorResult verify(java.security.cert.TrustAnchor trustAnchor)
Verify the certificate path is valid.
public java.security.cert.CertPath getCertPath()