@@ -17,6 +17,7 @@ import lief.PE.Header # type: ignore
17
17
import lief .PE .Import # type: ignore
18
18
import lief .PE .LoadConfiguration # type: ignore
19
19
import lief .PE .LoadConfigurationV1 # type: ignore
20
+ import lief .PE .MsCounterSign # type: ignore
20
21
import lief .PE .OptionalHeader # type: ignore
21
22
import lief .PE .Pogo # type: ignore
22
23
import lief .PE .Relocation # type: ignore
@@ -311,12 +312,15 @@ class Attribute(lief.Object):
311
312
CONTENT_TYPE : ClassVar [Attribute .TYPE ] = ...
312
313
GENERIC_TYPE : ClassVar [Attribute .TYPE ] = ...
313
314
MS_COUNTER_SIGN : ClassVar [Attribute .TYPE ] = ...
315
+ MS_PLATFORM_MANIFEST_BINARY_ID : ClassVar [Attribute .TYPE ] = ...
314
316
MS_SPC_NESTED_SIGN : ClassVar [Attribute .TYPE ] = ...
315
317
MS_SPC_STATEMENT_TYPE : ClassVar [Attribute .TYPE ] = ...
316
318
PKCS9_AT_SEQUENCE_NUMBER : ClassVar [Attribute .TYPE ] = ...
317
319
PKCS9_COUNTER_SIGNATURE : ClassVar [Attribute .TYPE ] = ...
318
320
PKCS9_MESSAGE_DIGEST : ClassVar [Attribute .TYPE ] = ...
319
321
PKCS9_SIGNING_TIME : ClassVar [Attribute .TYPE ] = ...
322
+ SIGNING_CERTIFICATE_V2 : ClassVar [Attribute .TYPE ] = ...
323
+ SPC_RELAXED_PE_MARKER_CHECK : ClassVar [Attribute .TYPE ] = ...
320
324
SPC_SP_OPUS_INFO : ClassVar [Attribute .TYPE ] = ...
321
325
UNKNOWN : ClassVar [Attribute .TYPE ] = ...
322
326
__name__ : str
@@ -1479,6 +1483,36 @@ class LoadConfigurationV9(LoadConfigurationV8):
1479
1483
def __init__ (self ) -> None : ...
1480
1484
def copy (self ) -> lief .PE .LoadConfigurationV9 : ...
1481
1485
1486
+ class MsCounterSign (Attribute ):
1487
+ class it_const_crt :
1488
+ def __init__ (self , * args , ** kwargs ) -> None : ...
1489
+ def __getitem__ (self , arg : int , / ) -> lief .PE .x509 : ...
1490
+ def __iter__ (self ) -> lief .PE .MsCounterSign .it_const_crt : ...
1491
+ def __len__ (self ) -> int : ...
1492
+ def __next__ (self ) -> lief .PE .x509 : ...
1493
+
1494
+ class it_const_signers_t :
1495
+ def __init__ (self , * args , ** kwargs ) -> None : ...
1496
+ def __getitem__ (self , arg : int , / ) -> lief .PE .SignerInfo : ...
1497
+ def __iter__ (self ) -> lief .PE .MsCounterSign .it_const_signers_t : ...
1498
+ def __len__ (self ) -> int : ...
1499
+ def __next__ (self ) -> lief .PE .SignerInfo : ...
1500
+ def __init__ (self , * args , ** kwargs ) -> None : ...
1501
+ @property
1502
+ def certificates (self ) -> lief .PE .MsCounterSign .it_const_crt : ...
1503
+ @property
1504
+ def content_info (self ) -> lief .PE .ContentInfo : ...
1505
+ @property
1506
+ def digest_algorithm (self ) -> lief .PE .ALGORITHMS : ...
1507
+ @property
1508
+ def signers (self ) -> lief .PE .MsCounterSign .it_const_signers_t : ...
1509
+ @property
1510
+ def version (self ) -> int : ...
1511
+
1512
+ class MsManifestBinaryID (Attribute ):
1513
+ manifest_id : str
1514
+ def __init__ (self , * args , ** kwargs ) -> None : ...
1515
+
1482
1516
class MsSpcNestedSignature (Attribute ):
1483
1517
def __init__ (self , * args , ** kwargs ) -> None : ...
1484
1518
@property
@@ -1654,6 +1688,9 @@ class PKCS9SigningTime(Attribute):
1654
1688
@property
1655
1689
def time (self ) -> list [int ]: ...
1656
1690
1691
+ class PKCS9TSTInfo (ContentInfo .Content ):
1692
+ def __init__ (self , * args , ** kwargs ) -> None : ...
1693
+
1657
1694
class ParserConfig :
1658
1695
parse_exports : bool
1659
1696
parse_imports : bool
@@ -2649,6 +2686,9 @@ class SignerInfo(lief.Object):
2649
2686
@property
2650
2687
def version (self ) -> int : ...
2651
2688
2689
+ class SigningCertificateV2 (Attribute ):
2690
+ def __init__ (self , * args , ** kwargs ) -> None : ...
2691
+
2652
2692
class SpcIndirectData (ContentInfo .Content ):
2653
2693
def __init__ (self , * args , ** kwargs ) -> None : ...
2654
2694
@property
@@ -2658,6 +2698,11 @@ class SpcIndirectData(ContentInfo.Content):
2658
2698
@property
2659
2699
def file (self ) -> str : ...
2660
2700
2701
+ class SpcRelaxedPeMarkerCheck (Attribute ):
2702
+ def __init__ (self , * args , ** kwargs ) -> None : ...
2703
+ @property
2704
+ def value (self ) -> int : ...
2705
+
2661
2706
class SpcSpOpusInfo (Attribute ):
2662
2707
def __init__ (self , * args , ** kwargs ) -> None : ...
2663
2708
@property
0 commit comments