addtokensigningcertificate

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAddTokenSigningCertificatePostRequestBodyFromDiscriminatorValue added in v0.39.0

CreateAddTokenSigningCertificatePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

Types

type AddTokenSigningCertificatePostRequestBody added in v0.39.0

type AddTokenSigningCertificatePostRequestBody struct {
	// contains filtered or unexported fields
}

AddTokenSigningCertificatePostRequestBody provides operations to call the addTokenSigningCertificate method.

func NewAddTokenSigningCertificatePostRequestBody added in v0.39.0

func NewAddTokenSigningCertificatePostRequestBody() *AddTokenSigningCertificatePostRequestBody

NewAddTokenSigningCertificatePostRequestBody instantiates a new addTokenSigningCertificatePostRequestBody and sets the default values.

func (*AddTokenSigningCertificatePostRequestBody) GetAdditionalData added in v0.39.0

func (m *AddTokenSigningCertificatePostRequestBody) GetAdditionalData() map[string]interface{}

GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*AddTokenSigningCertificatePostRequestBody) GetDisplayName added in v0.39.0

GetDisplayName gets the displayName property value. The displayName property

func (*AddTokenSigningCertificatePostRequestBody) GetEndDateTime added in v0.39.0

GetEndDateTime gets the endDateTime property value. The endDateTime property

func (*AddTokenSigningCertificatePostRequestBody) GetFieldDeserializers added in v0.39.0

GetFieldDeserializers the deserialization information for the current model

func (*AddTokenSigningCertificatePostRequestBody) Serialize added in v0.39.0

Serialize serializes information the current object

func (*AddTokenSigningCertificatePostRequestBody) SetAdditionalData added in v0.39.0

func (m *AddTokenSigningCertificatePostRequestBody) SetAdditionalData(value map[string]interface{})

SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*AddTokenSigningCertificatePostRequestBody) SetDisplayName added in v0.39.0

func (m *AddTokenSigningCertificatePostRequestBody) SetDisplayName(value *string)

SetDisplayName sets the displayName property value. The displayName property

func (*AddTokenSigningCertificatePostRequestBody) SetEndDateTime added in v0.39.0

SetEndDateTime sets the endDateTime property value. The endDateTime property

type AddTokenSigningCertificateRequestBuilder

type AddTokenSigningCertificateRequestBuilder struct {
	// contains filtered or unexported fields
}

AddTokenSigningCertificateRequestBuilder provides operations to call the addTokenSigningCertificate method.

func NewAddTokenSigningCertificateRequestBuilder

NewAddTokenSigningCertificateRequestBuilder instantiates a new AddTokenSigningCertificateRequestBuilder and sets the default values.

func NewAddTokenSigningCertificateRequestBuilderInternal

func NewAddTokenSigningCertificateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AddTokenSigningCertificateRequestBuilder

NewAddTokenSigningCertificateRequestBuilderInternal instantiates a new AddTokenSigningCertificateRequestBuilder and sets the default values.

func (*AddTokenSigningCertificateRequestBuilder) CreatePostRequestInformation

CreatePostRequestInformation create a self-signed signing certificate and return a selfSignedCertificate object, which is the public part of the generated certificate. The self-signed signing certificate is composed of the following objects, which are added to the servicePrincipal: + The keyCredentials object with the following objects: + A private key object with **usage** set to `Sign`. + A public key object with **usage** set to `Verify`.+ The passwordCredentials object. All the objects have the same value of **customKeyIdentifier**. The **passwordCredential** is used to open the PFX file (private key). It and the associated private key object have the same value of **keyId**. When set during creation through the **displayName** property, the subject of the certificate cannot be updated. The **startDateTime** is set to the same time the certificate is created using the action. The **endDateTime** can be up to three years after the certificate is created.

func (*AddTokenSigningCertificateRequestBuilder) Post

Post create a self-signed signing certificate and return a selfSignedCertificate object, which is the public part of the generated certificate. The self-signed signing certificate is composed of the following objects, which are added to the servicePrincipal: + The keyCredentials object with the following objects: + A private key object with **usage** set to `Sign`. + A public key object with **usage** set to `Verify`.+ The passwordCredentials object. All the objects have the same value of **customKeyIdentifier**. The **passwordCredential** is used to open the PFX file (private key). It and the associated private key object have the same value of **keyId**. When set during creation through the **displayName** property, the subject of the certificate cannot be updated. The **startDateTime** is set to the same time the certificate is created using the action. The **endDateTime** can be up to three years after the certificate is created.

type AddTokenSigningCertificateRequestBuilderPostRequestConfiguration added in v0.22.0

type AddTokenSigningCertificateRequestBuilderPostRequestConfiguration struct {
	// Request headers
	Headers map[string]string
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

AddTokenSigningCertificateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

Jump to

Keyboard shortcuts

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