Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs-main/appdev/deep-dives/external-signing-onboarding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -794,10 +794,10 @@ def build_signed_topology_transaction(
transaction_hashes=hashes,
signatures=[
crypto_pb2.Signature(
format=crypto_pb2.SignatureFormat.SIGNATURE_FORMAT_DER,
format=crypto_pb2.SignatureFormat.SIGNATURE_FORMAT_CONCAT,
signature=signature,
signed_by=signed_by,
signing_algorithm_spec=crypto_pb2.SigningAlgorithmSpec.SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_256,
signing_algorithm_spec=crypto_pb2.SigningAlgorithmSpec.SIGNING_ALGORITHM_SPEC_ED25519,
)
],
)
Expand Down Expand Up @@ -1255,10 +1255,10 @@ def update_external_party_hosting(
transaction=updated_party_to_participant_transaction,
signatures=[
crypto_pb2.Signature(
format=crypto_pb2.SignatureFormat.SIGNATURE_FORMAT_DER,
format=crypto_pb2.SignatureFormat.SIGNATURE_FORMAT_CONCAT,
signature=signature,
signed_by=fingerprint,
signing_algorithm_spec=crypto_pb2.SigningAlgorithmSpec.SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_256,
signing_algorithm_spec=crypto_pb2.SigningAlgorithmSpec.SIGNING_ALGORITHM_SPEC_ED25519,
)
],
multi_transaction_signatures=[],
Expand Down Expand Up @@ -1561,10 +1561,10 @@ def update_external_party_hosting(
transaction=updated_party_to_participant_transaction,
signatures=[
crypto_pb2.Signature(
format=crypto_pb2.SignatureFormat.SIGNATURE_FORMAT_DER,
format=crypto_pb2.SignatureFormat.SIGNATURE_FORMAT_CONCAT,
signature=signature,
signed_by=fingerprint,
signing_algorithm_spec=crypto_pb2.SigningAlgorithmSpec.SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_256,
signing_algorithm_spec=crypto_pb2.SigningAlgorithmSpec.SIGNING_ALGORITHM_SPEC_ED25519,
)
],
multi_transaction_signatures=[],
Expand Down
12 changes: 6 additions & 6 deletions docs-main/appdev/deep-dives/external-signing-transactions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1216,9 +1216,9 @@ grpcurl -emit-defaults -plaintext -d @ localhost:4001 com.daml.ledger.api.v2.int
"party": "alice::1220d466a5d96a3509736c821e25fe81fc8a73f226d92e57e94a65170e58b07fc08e",
"signatures": [
{
"format": "SIGNATURE_FORMAT_DER",
"format": "SIGNATURE_FORMAT_CONCAT",
"signature": "$SIGNATURE",
"signing_algorithm_spec": "SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_256",
"signing_algorithm_spec": "SIGNING_ALGORITHM_SPEC_ED25519",
"signed_by": "1220d466a5d96a3509736c821e25fe81fc8a73f226d92e57e94a65170e58b07fc08e"
}
]
Expand All @@ -1242,10 +1242,10 @@ execute_request = interactive_submission_service_pb2.ExecuteSubmissionRequest(
party=party,
signatures=[
crypto_pb2.Signature(
format=crypto_pb2.SignatureFormat.SIGNATURE_FORMAT_DER,
format=crypto_pb2.SignatureFormat.SIGNATURE_FORMAT_CONCAT,
signature=signature,
signed_by=pub_fingerprint,
signing_algorithm_spec=crypto_pb2.SigningAlgorithmSpec.SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_256,
signing_algorithm_spec=crypto_pb2.SigningAlgorithmSpec.SIGNING_ALGORITHM_SPEC_ED25519,
)
],
)
Expand Down Expand Up @@ -1596,10 +1596,10 @@ def execute_and_get_contract_id(
party=party,
signatures=[
crypto_pb2.Signature(
format=crypto_pb2.SignatureFormat.SIGNATURE_FORMAT_DER,
format=crypto_pb2.SignatureFormat.SIGNATURE_FORMAT_CONCAT,
signature=signature,
signed_by=pub_fingerprint,
signing_algorithm_spec=crypto_pb2.SigningAlgorithmSpec.SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_256,
signing_algorithm_spec=crypto_pb2.SigningAlgorithmSpec.SIGNING_ALGORITHM_SPEC_ED25519,
)
],
)
Expand Down