(identity: Identity["Service"])
| 471 | * @since 4.0.0 |
| 472 | */ |
| 473 | export const encodeIdentityString = (identity: Identity["Service"]): string => |
| 474 | Schema.encodeSync(IdentityStringSchema)({ |
| 475 | publicKey: identity.publicKey, |
| 476 | privateKey: Redacted.value(identity.privateKey) |
| 477 | }) |
| 478 | |
| 479 | /** |
| 480 | * Generates a new event-log identity using the configured |
nothing calls this directly
no test coverage detected