We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a07cae commit f10c230Copy full SHA for f10c230
rust/rbac-registration/src/cardano/cip509/validation.rs
@@ -44,6 +44,12 @@ use super::{
44
45
/// Context-specific primitive type with tag number 6 (`raw_tag` 134) for
46
/// uniform resource identifier (URI) in the subject alternative name extension.
47
+/// Following the ASN.1 <https://www.oss.com/asn1/resources/asn1-made-simple/asn1-quick-reference/asn1-tags.html>,
48
+/// the tag is derive from
49
+/// | Class (2 bit) | P/C (1 bit) | Tag Number (5 bit) |
50
+/// |`CONTEXT_SPECIFIC` | `PRIMITIVE` `| 6` |
51
+/// |`10` | `0` `| 00110` |
52
+/// Result in 0x86 or 134 in decimal.
53
pub(crate) const URI: u8 = 134;
54
55
// ------------------------ Validate Txn Inputs Hash ------------------------
0 commit comments