Show / Hide Table of Contents

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.

Inheritance
object
AbstractStructure
WinCertificate
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class WinCertificate : AbstractStructure

Constructors

| Edit this page View Source

WinCertificate(IRawFile, long)

Create a new WinCertificate object.

Declaration
public WinCertificate(IRawFile peFile, long offset)
Parameters
Type Name Description
IRawFile peFile

A PE file.

long offset

Raw offset to the structure.

Properties

| Edit this page View Source

BCertificate

The certificate.

Declaration
public Span<byte> BCertificate { get; }
Property Value
Type Description
Span<byte>
| Edit this page View Source

DwLength

Length of the certificate.

Declaration
public uint DwLength { get; set; }
Property Value
Type Description
uint
| Edit this page View Source

WCertificateType

The certificate type.

Declaration
public WinCertificateType WCertificateType { get; set; }
Property Value
Type Description
WinCertificateType
| Edit this page View Source

WRevision

Revision.

Declaration
public ushort WRevision { get; set; }
Property Value
Type Description
ushort
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX