public class AuthenticatedObject<T>
Wraps an object that was signed by a public key, which may be a well known/recognised institutional key.
Constructor and Description |
---|
AuthenticatedObject(java.util.List<? extends net.corda.core.crypto.CompositeKey> signers,
java.util.List<net.corda.core.crypto.Party> signingParties,
T value)
Wraps an object that was signed by a public key, which may be a well known/recognised institutional key.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<net.corda.core.crypto.CompositeKey> |
component1() |
java.util.List<net.corda.core.crypto.Party> |
component2()
If any public keys were recognised,
|
T |
component3() |
AuthenticatedObject<T> |
copy(java.util.List<? extends net.corda.core.crypto.CompositeKey> signers,
java.util.List<net.corda.core.crypto.Party> signingParties,
T value)
Wraps an object that was signed by a public key, which may be a well known/recognised institutional key.
|
boolean |
equals(java.lang.Object p) |
java.util.List<net.corda.core.crypto.CompositeKey> |
getSigners() |
java.util.List<net.corda.core.crypto.Party> |
getSigningParties()
If any public keys were recognised,
|
T |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
public AuthenticatedObject(java.util.List<? extends net.corda.core.crypto.CompositeKey> signers, java.util.List<net.corda.core.crypto.Party> signingParties, T value)
Wraps an object that was signed by a public key, which may be a well known/recognised institutional key.
signingParties
- If any public keys were recognised,the looked up institutions are available herepublic java.util.List<net.corda.core.crypto.CompositeKey> getSigners()
public java.util.List<net.corda.core.crypto.Party> getSigningParties()
If any public keys were recognised,
the looked up institutions are available here
public T getValue()
public java.util.List<net.corda.core.crypto.CompositeKey> component1()
public java.util.List<net.corda.core.crypto.Party> component2()
If any public keys were recognised,
the looked up institutions are available here
public T component3()
public AuthenticatedObject<T> copy(java.util.List<? extends net.corda.core.crypto.CompositeKey> signers, java.util.List<net.corda.core.crypto.Party> signingParties, T value)
Wraps an object that was signed by a public key, which may be a well known/recognised institutional key.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)