Class PkixCertPayloadHandler
A payload handler for the "application/pkix-cert" content type.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Okta.Sdk.Internal
Assembly: Okta.Sdk.dll
Syntax
public class PkixCertPayloadHandler : PayloadHandler, IPayloadHandler
Constructors
PkixCertPayloadHandler()
Initializes a new instance of the PkixCertPayloadHandler class.
Declaration
public PkixCertPayloadHandler()
Methods
GetRequestHttpContent(HttpRequest)
Get base64 encoded content for the specified request.
Declaration
protected override HttpContent GetRequestHttpContent(HttpRequest httpRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpRequest | httpRequest | The request whose content is returned. |
Returns
| Type | Description |
|---|---|
| System.Net.Http.HttpContent | Content for the specified request. |
Overrides
Remarks
Throws an ArgumentNullException if request payload is null. Throws an InvalidOperationException if the payload is not a byte array.