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
contextPEReaderContextThe context in which the reader is situated in.
revisionCertificateRevisionThe file format revision to use.
typeCertificateTypeThe type of certificate to read.
readerBinaryStreamReaderThe reader pointing to the start of the raw data of the certificate.
Returns
- AttributeCertificate
The read attribute certificate.