-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Fetching Certificates for Device #2398
Comments
Sure, the You should be able to get details about the certificate even without the |
Hi @JosephBagaric many thanks for your reply .. Agree that, we can get owned Certificate data without pk of active user. But for transfer , We do need to the Certificate instane Const [certificate] = await CertificateUtils.getAllOwnedCertificates(blockchainProperties); later this instance are being used for initiate transfer Now, is it possible if we can get this signing part using HCM and then send the signed transaction instead using raw PK. |
There's currently no support to send a signed raw transaction to the Can you create a custom Signer module for HCM and use that? That should work. |
Do we have any direction for creating a custom Signer module and how that module will be integrated into Origin operations |
Sure, probably you can just create a TypeScript implementation of the abstract Signer interface from Then just attach this Signer object to I'm not familiar with HCM and how it works, so I can't help you on that part. |
Thanks @JosephBagaric for your prompt inputs .. Let me explore on this |
When we need to fetch Certificates for Device , We are using the helper function from CertificateUtils
where in blockchainProperties, we need to set the active user, which is a wallet instance, To get this wallet instance we need to pass the private keys
So Is there any other way to fetch the Device certificate, without exposing the device private key?
The text was updated successfully, but these errors were encountered: