Interface ICertificateReader
- Namespace
- AsmResolver.PE.Certificates
- Assembly
- AsmResolver.PE.dll
Provides members for reading and interpreting the contents of an attribute certificate in a signed portable executable file.
public interface ICertificateReader
Methods
ReadCertificate(PEReaderContext, CertificateRevision, CertificateType, BinaryStreamReader)
Reads a single attribute certificate.
AttributeCertificate ReadCertificate(PEReaderContext context, CertificateRevision revision, CertificateType type, BinaryStreamReader reader)
Parameters
context
PEReaderContextThe context in which the reader is situated in.
revision
CertificateRevisionThe file format revision to use.
type
CertificateTypeThe type of certificate to read.
reader
BinaryStreamReaderThe reader pointing to the start of the raw data of the certificate.
Returns
- AttributeCertificate
The read attribute certificate.