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
It looks like this is expected to be an InstanceOf<OctetString>. I'm wondering if there is a way to represent this as a Utf8String? I tried passing several types (std::string::String, and also an encoded AttributeTypeAndValue), but it always ends up being viewed as an OctetString.
While this doesn't really cause a problem when working with the data directly, I did notice OpenSSL marks the fields as "unsupported" in the text output. For example
X509v3 Issuer Alternative Name:
othername:<unsupported>, othername:<unsupported>
If I use explicit Utf8String types, however, I do see the othernames as expected.
So, ultimately just wondering if InstanceOf<OctetString> is the right type here, or if rasn::types::Any might work better.
Appreciate any advice.
The text was updated successfully, but these errors were encountered:
Thank you for your issue! Would you be able to look at the ASN.1 module and show how it defines OtherName? I think that will be our best guidance here.
Want to start by saying thank you for this awesome library.
I have a question around the
OtherName
variant in theGeneralName
type.rasn/standards/pkix/src/lib.rs
Line 697 in 39fdcbf
It looks like this is expected to be an
InstanceOf<OctetString>
. I'm wondering if there is a way to represent this as a Utf8String? I tried passing several types (std::string::String
, and also an encodedAttributeTypeAndValue
), but it always ends up being viewed as an OctetString.While this doesn't really cause a problem when working with the data directly, I did notice OpenSSL marks the fields as "unsupported" in the text output. For example
If I use explicit Utf8String types, however, I do see the othernames as expected.
So, ultimately just wondering if
InstanceOf<OctetString>
is the right type here, or ifrasn::types::Any
might work better.Appreciate any advice.
The text was updated successfully, but these errors were encountered: