mirror of
https://github.com/RGBCube/serenity
synced 2025-07-05 15:47:36 +00:00
LibCrypto: Add the GeneralizedTime ASN.1 type
This commit is contained in:
parent
a48d365046
commit
581f9ff6bb
2 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||||
|
|
|
@ -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 = ??,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue