Generated from Manticore v1.1.6 • 388 packages. View on pkg.go.dev

functions

import "github.com/TheManticoreProject/Manticore/network/dcerpc/interfaces/91ae6020-9e3c-11cf-8d7c-00aa00c091be/0.0/functions"

Index

func CertServerRequest

func CertServerRequest(rpc ndr.Invoker, dwFlags ndr.DWORD, pwszAuthority *ndr.WSTR, pdwRequestId ndr.DWORD, pctbAttribs mswcce.CERTTRANSBLOB, pctbRequest mswcce.CERTTRANSBLOB) (PdwRequestId ndr.DWORD, PdwDisposition ndr.DWORD, PctbCert mswcce.CERTTRANSBLOB, PctbEncodedCert mswcce.CERTTRANSBLOB, PctbDispositionMessage mswcce.CERTTRANSBLOB, err error)

CertServerRequest calls CertServerRequest (opnum 0) ([MS-ICPR] 3.2.4.1). It submits a certificate enrollment request (pctbRequest, with optional pctbAttribs attributes) to the CA named by pwszAuthority and returns the CA disposition plus the issued certificate blobs. dwFlags carries the request flags; pdwRequestId is [in, out] (the pending request id on input, the assigned id on output).

The return value is the CA disposition/HRESULT-style status; callers inspect pdwDisposition and the returned status together.