1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-05 15:27:35 +00:00

LibCrypto: Add the GeneralizedTime ASN.1 type

This commit is contained in:
AnotherTest 2021-04-18 13:39:09 +04:30 committed by Andreas Kling
parent a48d365046
commit 581f9ff6bb
2 changed files with 3 additions and 0 deletions

View file

@ -53,6 +53,8 @@ String kind_name(Kind kind)
return "UTF8String"; return "UTF8String";
case Kind::UTCTime: case Kind::UTCTime:
return "UTCTime"; return "UTCTime";
case Kind::GeneralizedTime:
return "GeneralizedTime";
case Kind::Sequence: case Kind::Sequence:
return "Sequence"; return "Sequence";
case Kind::Set: case Kind::Set:

View file

@ -43,6 +43,7 @@ enum class Kind : u8 {
PrintableString = 0x13, PrintableString = 0x13,
Utf8String = 0x0c, Utf8String = 0x0c,
UTCTime = 0x017, UTCTime = 0x017,
GeneralizedTime = 0x018,
Sequence = 0x10, Sequence = 0x10,
Set = 0x11, Set = 0x11,
// Choice = ??, // Choice = ??,