com.r3corda.core.contracts / kotlin.collections.List / getTimestampByName

getTimestampByName

fun List<AuthenticatedObject<CommandData>>.getTimestampByName(vararg names: String): TimestampCommand?
Deprecated: Timestamping authority should always be notary for the transaction

Returns a timestamp that was signed by any of the the named authorities, or returns null if missing. Note that matching here is done by (verified, legal) name, not by public key. Any signature by any party with a name that matches (case insensitively) any of the given names will yield a match.