Class WIN_CERTIFICATE
The WIN_CERTIFICATE the information in the security directory of the PE file. It contains information about any certificates used to sign the binary.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: PeNet.Structures
Assembly: PeNet.dll
Syntax
public class WIN_CERTIFICATE : AbstractStructure
Constructors
| Improve this Doc View SourceWIN_CERTIFICATE(Byte[], UInt32)
Create a new WIN_CERTIFICATE object.
Declaration
public WIN_CERTIFICATE(byte[] buff, uint offset)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | buff | A PE file as a byte array. |
| System.UInt32 | offset | Raw offset to the structure. |
Properties
| Improve this Doc View SourcebCertificate
The certificate as a byte array.
Declaration
public byte[] bCertificate { get; set; }
Property Value
| Type | Description |
|---|---|
| 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 ushort wCertificateType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.UInt16 |
wRevision
Revision.
Declaration
public ushort wRevision { get; set; }
Property Value
| Type | Description |
|---|---|
| System.UInt16 |