Class WinCertificate
The WinCertificate the information in the security directory of the PE file. It contains information about any certificates used to sign the binary.
Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class WinCertificate : AbstractStructure
Constructors
| Improve this Doc View SourceWinCertificate(IRawFile, Int64)
Create a new WinCertificate object.
Declaration
public WinCertificate(IRawFile peFile, long offset)
Parameters
Type | Name | Description |
---|---|---|
IRawFile | peFile | A PE file. |
System.Int64 | offset | Raw offset to the structure. |
Properties
| Improve this Doc View SourceBCertificate
The certificate.
Declaration
public Span<byte> BCertificate { get; }
Property Value
Type | Description |
---|---|
Span<System.Byte> |
DwLength
Length of the certificate.
Declaration
public uint DwLength { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
WCertificateType
The certificate type.
Declaration
public WinCertificateType WCertificateType { get; set; }
Property Value
Type | Description |
---|---|
WinCertificateType |
WRevision
Revision.
Declaration
public ushort WRevision { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |