You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x509-cert's Certificate struct can not be easily created in a separate function, as creating it requires several intermediate temporary variables, which are borrowed rather than being moved to the created struct. E.g. my first attempt stopped at borrowing signature, basic_contraint (for Extension's extn_value) and public key DER. I can probably solve the PK part by using newly implemented TryFrom, but for the rest additional work/suggestions would be required. E.g. it would be nice to allow using BitString in addition to BitStringRef for the signature field.
The text was updated successfully, but these errors were encountered:
I've definitely been meaning to add a certificate builder type, as it's a blocker for migrating the yubhism crate (which would hopefully free up the x509 crate so we could start using that name).
I might have some time this weekend to look at that.
x509-cert
'sCertificate
struct can not be easily created in a separate function, as creating it requires several intermediate temporary variables, which are borrowed rather than being moved to the created struct. E.g. my first attempt stopped at borrowingsignature
,basic_contraint
(for Extension'sextn_value
) and public key DER. I can probably solve the PK part by using newly implementedTryFrom
, but for the rest additional work/suggestions would be required. E.g. it would be nice to allow usingBitString
in addition toBitStringRef
for the signature field.The text was updated successfully, but these errors were encountered: