Skip to content

Commit

Permalink
Add OIDs related to windows protection descriptors (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBestTvarynka authored Nov 6, 2024
1 parent cf0257e commit 53fc841
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/asn1/scheme/oid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,13 @@ fn oid_name(oid: &'_ str) -> (&'static str, &'static str) {
"1.3.6.1.4.1.311.21.7" => ("szOID_CERTIFICATE_TEMPLATE", "http://www.oid-info.com/get/1.3.6.1.4.1.311.21.7"),
"1.3.6.1.4.1.311.20.2.2" => ("Smartcard logon (Microsoft enhanced key usage)", "http://www.oid-info.com/get/1.3.6.1.4.1.311.20.2.2"),
"1.3.6.1.4.1.311.21.10" => ("szOID_APPLICATION_CERT_POLICIES", "http://www.oid-info.com/get/1.3.6.1.4.1.311.21.10"),
"1.2.840.113549.1.7.3" => ("id-envelopedData", "http://oid-info.com/get/1.2.840.113549.1.7.3"),
"1.3.6.1.4.1.311.74.1" => ("ProtectionDescriptorType", "https://github.com/jborean93/dpapi-ng/blob/57143c31897e647d97f5a8b505188dc447025997/src/dpapi_ng/_blob.py#L128"),
"1.3.6.1.4.1.311.74.1.1" => ("SID Protection Descriptor", "https://github.com/jborean93/dpapi-ng/blob/57143c31897e647d97f5a8b505188dc447025997/src/dpapi_ng/_blob.py#L129"),
"1.3.6.1.4.1.311.74.1.2" => ("Key File Protection Descriptor", "https://github.com/jborean93/dpapi-ng/blob/57143c31897e647d97f5a8b505188dc447025997/src/dpapi_ng/_blob.py#L130"),
"1.3.6.1.4.1.311.74.1.5" => ("SSDL Protection Descriptor", "https://github.com/jborean93/dpapi-ng/blob/57143c31897e647d97f5a8b505188dc447025997/src/dpapi_ng/_blob.py#L131"),
"1.3.6.1.4.1.311.74.1.8" => ("LOCAL Protection Descriptor", "https://github.com/jborean93/dpapi-ng/blob/57143c31897e647d97f5a8b505188dc447025997/src/dpapi_ng/_blob.py#L132"),
"1.3.6.1.4.1.311.21.1" => ("Certificate services CA version", "http://oid-info.com/get/1.3.6.1.4.1.311.21.1"),
_ => ("-", "https://github.com/TheBestTvarynka/crypto-helper/issues/new"),
}
}

0 comments on commit 53fc841

Please sign in to comment.