icertrequestd2

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ICertRequestD2 interface identifier 5422fd3a-d4b8-4cef-a12e-e87d4ca22e90
	CertRequestD2IID = &dcom.IID{Data1: 0x5422fd3a, Data2: 0xd4b8, Data3: 0x4cef, Data4: []byte{0xa1, 0x2e, 0xe8, 0x7d, 0x4c, 0xa2, 0x2e, 0x90}}
	// Syntax UUID
	CertRequestD2SyntaxUUID = &uuid.UUID{TimeLow: 0x5422fd3a, TimeMid: 0xd4b8, TimeHiAndVersion: 0x4cef, ClockSeqHiAndReserved: 0xa1, ClockSeqLow: 0x2e, Node: [6]uint8{0xe8, 0x7d, 0x4c, 0xa2, 0x2e, 0x90}}
	// Syntax ID
	CertRequestD2SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: CertRequestD2SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/wcce"
)

Functions

func CertRequestD2ServerHandle

func CertRequestD2ServerHandle(ctx context.Context, o CertRequestD2Server, opNum int, r ndr.Reader) (dcerpc.Operation, error)

func NewCertRequestD2ServerHandle

func NewCertRequestD2ServerHandle(o CertRequestD2Server) dcerpc.ServerHandle

func RegisterCertRequestD2Server

func RegisterCertRequestD2Server(conn dcerpc.Conn, o CertRequestD2Server, opts ...dcerpc.Option)

Types

type CertRequestD2Client

type CertRequestD2Client interface {

	// ICertRequestD retrieval method.
	CertRequestD() icertrequestd.CertRequestDClient

	// The Request2 method requests a certificate from the CA. It is similar to the ICertRequestD::Request
	// method, but it has an additional parameter, pwszSerialNumber, which is specified
	// as follows.
	//
	// Return Values: Identical to the return value of the ICertRequestD::Request method.
	Request2(context.Context, *Request2Request, ...dcerpc.CallOption) (*Request2Response, error)

	// The GetCAProperty method retrieves a property value from the CA.
	//
	// Return Values: For a successful invocation, the CA MUST return 0; otherwise, the
	// CA MUST return a nonzero value.
	GetCAProperty(context.Context, *GetCAPropertyRequest, ...dcerpc.CallOption) (*GetCAPropertyResponse, error)

	// The GetCAPropertyInfo method retrieves a set of property structures from the CA.
	// The list of properties is specified in section 3.2.1.4.3.2.
	//
	// Return Values: For a successful invocation, the CA MUST return 0. Otherwise, the
	// CA MUST return a nonzero value.
	GetCAPropertyInfo(context.Context, *GetCAPropertyInfoRequest, ...dcerpc.CallOption) (*GetCAPropertyInfoResponse, error)

	// The Ping2 method pings the CA.
	//
	// Return Values: For a successful invocation, the CA MUST return 0; otherwise, the
	// CA MUST return a nonzero value.
	Ping2(context.Context, *Ping2Request, ...dcerpc.CallOption) (*Ping2Response, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) CertRequestD2Client
}

ICertRequestD2 interface.

func NewCertRequestD2Client

func NewCertRequestD2Client(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (CertRequestD2Client, error)

type CertRequestD2Server

type CertRequestD2Server interface {

	// ICertRequestD base class.
	icertrequestd.CertRequestDServer

	// The Request2 method requests a certificate from the CA. It is similar to the ICertRequestD::Request
	// method, but it has an additional parameter, pwszSerialNumber, which is specified
	// as follows.
	//
	// Return Values: Identical to the return value of the ICertRequestD::Request method.
	Request2(context.Context, *Request2Request) (*Request2Response, error)

	// The GetCAProperty method retrieves a property value from the CA.
	//
	// Return Values: For a successful invocation, the CA MUST return 0; otherwise, the
	// CA MUST return a nonzero value.
	GetCAProperty(context.Context, *GetCAPropertyRequest) (*GetCAPropertyResponse, error)

	// The GetCAPropertyInfo method retrieves a set of property structures from the CA.
	// The list of properties is specified in section 3.2.1.4.3.2.
	//
	// Return Values: For a successful invocation, the CA MUST return 0. Otherwise, the
	// CA MUST return a nonzero value.
	GetCAPropertyInfo(context.Context, *GetCAPropertyInfoRequest) (*GetCAPropertyInfoResponse, error)

	// The Ping2 method pings the CA.
	//
	// Return Values: For a successful invocation, the CA MUST return 0; otherwise, the
	// CA MUST return a nonzero value.
	Ping2(context.Context, *Ping2Request) (*Ping2Response, error)
}

ICertRequestD2 server interface.

type GetCAPropertyInfoRequest

type GetCAPropertyInfoRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pwszAuthority: Contains the name of the CA.
	Authority string `idl:"name:pwszAuthority;string;pointer:unique" json:"authority"`
}

GetCAPropertyInfoRequest structure represents the GetCAPropertyInfo operation request

func (*GetCAPropertyInfoRequest) MarshalNDR

func (o *GetCAPropertyInfoRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetCAPropertyInfoRequest) UnmarshalNDR

func (o *GetCAPropertyInfoRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetCAPropertyInfoResponse

type GetCAPropertyInfoResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pcProperty: An integer value that contains the number of property structures returned.
	PropertyCount int32 `idl:"name:pcProperty" json:"property_count"`
	// pctbPropInfo: A CERTTRANSBLOB structure that contains zero or more CATRANSPROP structures.
	// For more information about the CERTTRANSBLOB and CATRANSPROP structures, see Common
	// Structures.
	PropertyInfo *wcce.CertTransportBlob `idl:"name:pctbPropInfo;pointer:ref" json:"property_info"`
	// Return: The GetCAPropertyInfo return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetCAPropertyInfoResponse structure represents the GetCAPropertyInfo operation response

func (*GetCAPropertyInfoResponse) MarshalNDR

func (o *GetCAPropertyInfoResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetCAPropertyInfoResponse) UnmarshalNDR

func (o *GetCAPropertyInfoResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetCAPropertyRequest

type GetCAPropertyRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pwszAuthority: Contains the name of the CA.
	Authority string `idl:"name:pwszAuthority;string;pointer:unique" json:"authority"`
	// PropID:  An integer value that specifies the property to be returned.
	//
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	|             PROPERTY             |    NUMERICAL    |                 |                                                                                  |
	//	|               NAME               |      VALUE      |   TYPE/INDEX    |                                     MEANING                                      |
	//	|                                  |                 |                 |                                                                                  |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_FILEVERSION              | 0x00000001      | String          | A string that MUST contain the CA version information.                           |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_PRODUCTVERSION           | 0x00000002      | String          | A string that MUST contain the build number of the CA.                           |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_EXITCOUNT                | 0x00000003      | Long            | MUST be the number of exit algorithms registered on the CA.                      |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_EXITDESCRIPTION          | 0x00000004      | String indexed  | A string that MUST contain the name of the exit algorithm identified by the      |
	//	|                                  |                 |                 | PropIndex parameter.                                                             |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_POLICYDESCRIPTION        | 0x00000005      | String          | A string that MUST contain the description of the policy algorithm on the CA.    |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CANAME                   | 0x00000006      | String          | A string that MUST contain the CN, as specified in [RFC3280], of a CA.           |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_SANITIZEDCANAME          | 0x00000007      | String          | A string that MUST contain the sanitized name of the CA. More information about  |
	//	|                                  |                 |                 | sanitized name is specified in section 3.1.1.4.1.1.                              |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_SHAREDFOLDER             | 0x00000008      | String          | A string that MUST contain the UNC path of a folder that contains the CA         |
	//	|                                  |                 |                 | information and signature certificates.                                          |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_PARENTCA                 | 0x00000009      | String          | A string that MUST contain the name of the parent CA to the current CA.          |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CATYPE                   | 0x0000000A      | Long            | MUST be a CAINFO structure that MUST contain the CA type. More information is    |
	//	|                                  |                 |                 | specified in section 3.2.1.4.3.2.10.                                             |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CASIGCERTCOUNT           | 0x0000000B      | Long            | MUST be the number of signing certificates on the CA.                            |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CASIGCERT                | 0x0000000C      | Binary, indexed | MUST be a binary object that contains a signing certificate identified by the    |
	//	|                                  |                 |                 | PropIndex parameter.                                                             |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CASIGCERTCHAIN           | 0x0000000D      | Binary, indexed | MUST be a binary object that contains the certificate chain for a signing        |
	//	|                                  |                 |                 | certificate identified by the PropIndex parameter.                               |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CAXCHGCERTCOUNT          | 0x0000000E      | Long            | MUST be 0x1.                                                                     |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CAXCHGCERT               | 0x0000000F      | Binary, indexed | MUST be a binary object that contains the CA's current exchange certificate      |
	//	|                                  |                 |                 | from the Current_CA_Exchange_Cert datum. The PropIndex parameter MUST be 0x0 or  |
	//	|                                  |                 |                 | 0xFFFFFFFF.                                                                      |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CAXCHGCERTCHAIN          | 0x00000010      | Binary, indexed | MUST be a binary object that contains the certificate chain for the CA's current |
	//	|                                  |                 |                 | exchange certificate from the Current_CA_Exchange_Cert datum. The PropIndex      |
	//	|                                  |                 |                 | parameter MUST be 0x0 or 0xFFFFFFFF.                                             |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_BASECRL                  | 0x00000011      | Binary, indexed | MUST be a CRL, for a CA signing certificate identified by the PropIndex          |
	//	|                                  |                 |                 | parameter.                                                                       |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_DELTACRL                 | 0x00000012      | Binary, indexed | MUST be a delta CRL, for a CA signing certificate identified by the PropIndex    |
	//	|                                  |                 |                 | parameter. For more information about delta CRLs, see [MSFT-CRL]. Additional     |
	//	|                                  |                 |                 | information is specified in [RFC3280] section 5.2.                               |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CACERTSTATE              | 0x00000013      | Long indexed    | MUST be a byte array that contains the disposition status of all CA signing      |
	//	|                                  |                 |                 | certificates. Disposition status is specified in section 3.2.1.4.3.2.19.         |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CRLSTATE                 | 0x00000014      | Long indexed    | MUST be a byte array that contains the status for all the CRLs of the CA.        |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CAPROPIDMAX              | 0x00000015      | Long            | MUST be the maximum property identifier supported by the CA.                     |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_DNSNAME                  | 0x00000016      | String          | MUST be the fully qualified domain name (FQDN) of the computer on which the CA   |
	//	|                                  |                 |                 | is installed.                                                                    |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_ROLESEPARATIONENABLED    | 0x00000017      | Long            | Indicates whether administrative role separation has been enabled on the CA.     |
	//	|                                  |                 |                 | A nonzero return value means that role separation has been enabled. Zero means   |
	//	|                                  |                 |                 | that role separation has not been enabled.                                       |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_KRACERTUSEDCOUNT         | 0x00000018      | Long            | MUST be the minimum number of KRAs to use when archiving a private key. For more |
	//	|                                  |                 |                 | information about KRA usage, see [MSFT-ARCHIVE].                                 |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_KRACERTCOUNT             | 0x00000019      | Long            | MUST be the maximum number of KRA certificates available on the CA.              |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_KRACERT                  | 0x0000001A      | Binary, indexed | A KRA certificate identified by the PropIndex parameter.                         |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_KRACERTSTATE             | 0x0000001B      | Long, indexed   | MUST be a byte array that contains the status of the KRA certificates registered |
	//	|                                  |                 |                 | with the CA.                                                                     |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_ADVANCEDSERVER           | 0x0000001C      | Long            | MUST identify whether the CA operating system is an advanced server platform.    |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_TEMPLATES                | 0x0000001D      | String          | MUST be a collection of name and OID pairs that identify the templates supported |
	//	|                                  |                 |                 | by a CA.                                                                         |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_BASECRLPUBLISHSTATUS     | 0x0000001E      | Long, indexed   | MUST be the publishing status of a signing certificate base CRL identified by    |
	//	|                                  |                 |                 | the PropIndex parameter.                                                         |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_DELTACRLPUBLISHSTATUS    | 0x0000001F      | Long, indexed   | MUST be the publishing status of a signing certificate delta CRL identified by   |
	//	|                                  |                 |                 | the PropIndex parameter.                                                         |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CASIGCERTCRLCHAIN        | 0x00000020      | Binary, indexed | MUST be a binary object that contains the certificate chain for a signing        |
	//	|                                  |                 |                 | certificate and the CRL for the certificates in the chain identified by the      |
	//	|                                  |                 |                 | PropIndex parameter.                                                             |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CAXCHGCERTCRLCHAIN       | 0x00000021      | Binary, indexed | MUST be a binary object for a chain containing CRLs for the CA's current         |
	//	|                                  |                 |                 | exchange certificate from the Current_CA_Exchange_Cert datum. The PropIndex      |
	//	|                                  |                 |                 | parameter MUST be 0x00000000 or 0xFFFFFFFF.                                      |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CACERTSTATUSCODE         | 0x00000022      | Long, indexed   | MUST be an HRESULT that identifies the result of certificate validation, as      |
	//	|                                  |                 |                 | specified in [RFC3280], by the CA for the CA signing certificates identified by  |
	//	|                                  |                 |                 | the PropIndex parameter.                                                         |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CAFORWARDCROSSCERT       | 0x00000023      | Binary, indexed | MUST be a forward cross certificate, by index, from a CA. For more information   |
	//	|                                  |                 |                 | about cross certificates, see [MSFT-CROSSCERT].                                  |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CABACKWARDCROSSCERT      | 0x00000024      | Binary, indexed | MUST be a backward cross certificate, by index, from a CA. For more information  |
	//	|                                  |                 |                 | about cross certificates.                                                        |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CAFORWARDCROSSCERTSTATE  | 0x00000025      | Long, indexed   | MUST be a byte array that identifies the status of all backward cross            |
	//	|                                  |                 |                 | certificates for a CA.                                                           |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CABACKWARDCROSSCERTSTATE | 0x00000026      | Long, indexed   | MUST be a byte array that identifies the disposition status of all forward cross |
	//	|                                  |                 |                 | certificates for a CA.                                                           |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CACERTVERSION            | 0x00000027      | Long, indexed   | MUST be an indexed 32-bit integer that contains the version number of a CA       |
	//	|                                  |                 |                 | signing certificate.                                                             |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_SANITIZEDCASHORTNAME     | 0x00000028      | String          | The property MUST return the sanitized shortened name of the CA. More            |
	//	|                                  |                 |                 | information about the sanitized name is specified in section 3.1.1.4.1.1.        |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CERTCDPURLS              | 0x00000029      | String, indexed | MUST be a null-terminated [UNICODE] string of the format "String1\nString2\n",   |
	//	|                                  |                 |                 | where each string (separated by '\n') MUST represent a URI to be part of a CRL   |
	//	|                                  |                 |                 | Distribution Point (CDP) extension, as specified in [RFC3280] section 4.2.1.14.  |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CERTAIAURLS              | 0x0000002A      | String, indexed | MUST be a null-terminated [UNICODE] string of the format "String1\nString2\n",   |
	//	|                                  |                 |                 | where each string (separated by '\n') MUST represent a URI to be part of         |
	//	|                                  |                 |                 | Authority Information Access extension, as specified in [RFC3280] section        |
	//	|                                  |                 |                 | 4.2.2.1.                                                                         |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_CERTAIAOCSPRLS           | 0x0000002B      | String, indexed | MUST be a null-terminated [UNICODE] string of the format "String1\nString2\n",   |
	//	|                                  |                 |                 | where each string (separated by '\n') MUST represent the OCSP URLs configured on |
	//	|                                  |                 |                 | the CA, as specified in [RFC3280] section 4.2.2.1.                               |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_LOCALENAME               | 0x0000002C      | String          | MUST be a null-terminated [UNICODE] string in the 'Language-Region' format (as   |
	//	|                                  |                 |                 | specified in [RFC4646]) that represents the locale of the CA.                    |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	//	| CR_PROP_SUBJECTTEMPLATE_OIDS     | 0x0000002D      | String          | MUST be a null-terminated [UNICODE] string of the format "OID1\nOID2\n", where   |
	//	|                                  |                 |                 | each OID (separated by '\n') MUST represent a Relative Distinguished Name that   |
	//	|                                  |                 |                 | is in a certificate Subject Distinguished Name.                                  |
	//	+----------------------------------+-----------------+-----------------+----------------------------------------------------------------------------------+
	PropertyID int32 `idl:"name:PropID" json:"property_id"`
	// PropIndex: This parameter is used as the index to a property that can contain multiple
	// values.
	PropertyIndex int32 `idl:"name:PropIndex" json:"property_index"`
	// PropType: An integer value that specifies the property data type.
	//
	//	+----------------------------+-------------------------------------------------------------+
	//	|                            |                                                             |
	//	|           VALUE            |                           MEANING                           |
	//	|                            |                                                             |
	//	+----------------------------+-------------------------------------------------------------+
	//	+----------------------------+-------------------------------------------------------------+
	//	| PROPTYPE_LONG 0x00000001   | The property type is a signed long integer or a byte array. |
	//	+----------------------------+-------------------------------------------------------------+
	//	| PROPTYPE_BINARY 0x00000003 | The property type is binary data.                           |
	//	+----------------------------+-------------------------------------------------------------+
	//	| PROPTYPE_STRING 0x00000004 | The property type is a string.                              |
	//	+----------------------------+-------------------------------------------------------------+
	PropertyType int32 `idl:"name:PropType" json:"property_type"`
}

GetCAPropertyRequest structure represents the GetCAProperty operation request

func (*GetCAPropertyRequest) MarshalNDR

func (o *GetCAPropertyRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetCAPropertyRequest) UnmarshalNDR

func (o *GetCAPropertyRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetCAPropertyResponse

type GetCAPropertyResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pctbPropertyValue: If the function succeeds, this method returns a CERTTRANSBLOB
	// structure in this parameter that contains the property value. If the function fails,
	// the content of this parameter is undefined.
	PropertyValue *wcce.CertTransportBlob `idl:"name:pctbPropertyValue;pointer:ref" json:"property_value"`
	// Return: The GetCAProperty return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetCAPropertyResponse structure represents the GetCAProperty operation response

func (*GetCAPropertyResponse) MarshalNDR

func (o *GetCAPropertyResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetCAPropertyResponse) UnmarshalNDR

func (o *GetCAPropertyResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type Ping2Request

type Ping2Request struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pwszAuthority: Contains the name of the CA.
	Authority string `idl:"name:pwszAuthority;string;pointer:unique" json:"authority"`
}

Ping2Request structure represents the Ping2 operation request

func (*Ping2Request) MarshalNDR

func (o *Ping2Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*Ping2Request) UnmarshalNDR

func (o *Ping2Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type Ping2Response

type Ping2Response struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The Ping2 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

Ping2Response structure represents the Ping2 operation response

func (*Ping2Response) MarshalNDR

func (o *Ping2Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*Ping2Response) UnmarshalNDR

func (o *Ping2Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type Request2Request

type Request2Request struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pwszAuthority: Identical to the pwszAuthority parameter in the ICertRequestD::Request
	// method.
	Authority string `idl:"name:pwszAuthority;string;pointer:unique" json:"authority"`
	// dwFlags: Identical to the dwFlags parameter in the ICertRequestD::Request method.
	Flags uint32 `idl:"name:dwFlags" json:"flags"`
	// pwszSerialNumber: A null-terminated [UNICODE] string that specifies a serial number
	// that identifies a certificate. The string MUST specify the serial number as an even
	// number of hexadecimal digits. If necessary, a zero can be prefixed to the number
	// to produce an even number of digits. The string MUST NOT contain more than one leading
	// zero. Information on the serial number is specified in [RFC3280] section 4.1.2.2.
	SerialNumber string `idl:"name:pwszSerialNumber;string;pointer:unique" json:"serial_number"`
	// pdwRequestId: Identical to the pdwRequestId parameter in the ICertRequestD::Request
	// method.
	RequestID uint32 `idl:"name:pdwRequestId;pointer:ref" json:"request_id"`
	// pwszAttributes: Identical to the pwszAttributes parameter in the ICertRequestD::Request
	// method.
	Attributes string `idl:"name:pwszAttributes;string;pointer:unique" json:"attributes"`
	// pctbRequest: Identical to the pctbRequest parameter in the ICertRequestD::Request
	// method.
	Request *wcce.CertTransportBlob `idl:"name:pctbRequest;pointer:ref" json:"request"`
}

Request2Request structure represents the Request2 operation request

func (*Request2Request) MarshalNDR

func (o *Request2Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*Request2Request) UnmarshalNDR

func (o *Request2Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type Request2Response

type Request2Response struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pdwRequestId: Identical to the pdwRequestId parameter in the ICertRequestD::Request
	// method.
	RequestID uint32 `idl:"name:pdwRequestId;pointer:ref" json:"request_id"`
	// pdwDisposition:  Identical to the pdwDisposition parameter in the ICertRequestD::Request
	// method.
	Disposition uint32 `idl:"name:pdwDisposition" json:"disposition"`
	// pctbFullResponse: Identical to the pctbCertChain parameter in the ICertRequestD::Request
	// method.
	FullResponse *wcce.CertTransportBlob `idl:"name:pctbFullResponse;pointer:ref" json:"full_response"`
	// pctbEncodedCert: Identical to the pctbEncodedCert parameter in the ICertRequestD::Request
	// method.
	EncodedCert *wcce.CertTransportBlob `idl:"name:pctbEncodedCert;pointer:ref" json:"encoded_cert"`
	// pctbDispositionMessage: Identical to the pctbDispositionMessage parameter in the
	// ICertRequestD::Request method.
	DispositionMessage *wcce.CertTransportBlob `idl:"name:pctbDispositionMessage;pointer:ref" json:"disposition_message"`
	// Return: The Request2 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

Request2Response structure represents the Request2 operation response

func (*Request2Response) MarshalNDR

func (o *Request2Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*Request2Response) UnmarshalNDR

func (o *Request2Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL