getTimestampBy |
fun List<AuthenticatedObject<CommandData>>.getTimestampBy(timestampingAuthority: Party): TimestampCommand? Returns a timestamp that was signed by the given authority, or returns null if missing. |
getTimestampByName |
fun List<AuthenticatedObject<CommandData>>.getTimestampByName(vararg names: String): TimestampCommand? 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. |
indexOfOrThrow |
fun <T> List<T>.indexOfOrThrow(item: T): Int Returns the index of the given item or throws IllegalArgumentException if not found. |
requireSingleCommand |
fun <T : CommandData> List<AuthenticatedObject<CommandData>>.requireSingleCommand(): <ERROR CLASS> fun List<AuthenticatedObject<CommandData>>.requireSingleCommand(klass: Class<out CommandData>): <ERROR CLASS> |
select |
fun <T : CommandData> List<AuthenticatedObject<CommandData>>.select(signer: PublicKey? = null, party: Party? = null): <ERROR CLASS> Filters the command list by type, party and public key all at once. |