Set-DssProperties
SYNOPSIS
{{ Fill in the Synopsis }}
SYNTAX
DefaultParamSet (Default)
Set-DssProperties [[-PinMode] <PinCodeMode>]
[[-TSPList] <System.Collections.Generic.List`1[CryptoPro.DSS.Common.Service.TspService]>]
[[-SignatureTypeList] <System.Collections.Generic.List`1[CryptoPro.DSS.Common.Service.SignatureType]>]
[[-ValidateCertificateBeforeSignature] <Boolean>] [[-ServiceType] <ServiceType>]
[[-MonitoringTimeout] <Int32>] [[-PdfSignatureSize] <Int32>] [[-CadesUseOcspAuthorizedPolicy] <Boolean>]
[[-TokenTimeout] <Int32>] [[-RequireStrongConfirmation] <Boolean>]
[[-TransactionCacheMode] <TransactionCacheMode>] [[-IsAdditionalCertStoreEnabled] <Boolean>]
[[-AdditionalCertStoreName] <String>] [[-OcspServiceList] <String[]>] [[-CadesUseProxy] <Boolean>]
[[-ServiceIdentifier] <String>] [[-AllowedCorsOrigins] <String>] [[-AllowHashSigning] <Boolean>]
[[-AllowThirdPartyTsp] <Boolean>] [[-DefaultCspType] <UInt32>] [[-MaxPinAttempts] <Int32>]
[[-RequireUniquePfx] <Boolean>] [[-DocumentStoreAddress] <String>] [-WhatIf] [-Confirm]
[[-DisplayName] <String>] [<CommonParameters>]
ThumbprintParamSet
Set-DssProperties [[-PinMode] <PinCodeMode>]
[[-TSPList] <System.Collections.Generic.List`1[CryptoPro.DSS.Common.Service.TspService]>]
[[-SignatureTypeList] <System.Collections.Generic.List`1[CryptoPro.DSS.Common.Service.SignatureType]>]
[-ServiceCertificateThumbprint] <String> [[-ValidateCertificateBeforeSignature] <Boolean>]
[[-ServiceType] <ServiceType>] [[-MonitoringTimeout] <Int32>] [[-PdfSignatureSize] <Int32>]
[[-CadesUseOcspAuthorizedPolicy] <Boolean>] [[-TokenTimeout] <Int32>] [[-RequireStrongConfirmation] <Boolean>]
[[-TransactionCacheMode] <TransactionCacheMode>] [[-IsAdditionalCertStoreEnabled] <Boolean>]
[[-AdditionalCertStoreName] <String>] [[-OcspServiceList] <String[]>] [[-CadesUseProxy] <Boolean>]
[[-ServiceIdentifier] <String>] [[-AllowedCorsOrigins] <String>] [[-AllowHashSigning] <Boolean>]
[[-AllowThirdPartyTsp] <Boolean>] [[-DefaultCspType] <UInt32>] [[-MaxPinAttempts] <Int32>]
[[-RequireUniquePfx] <Boolean>] [[-DocumentStoreAddress] <String>] [-WhatIf] [-Confirm]
[[-DisplayName] <String>] [<CommonParameters>]
CertificateParamSet
Set-DssProperties [[-PinMode] <PinCodeMode>]
[[-TSPList] <System.Collections.Generic.List`1[CryptoPro.DSS.Common.Service.TspService]>]
[[-SignatureTypeList] <System.Collections.Generic.List`1[CryptoPro.DSS.Common.Service.SignatureType]>]
[[-ValidateCertificateBeforeSignature] <Boolean>] [-ServiceCertificate] <X509Certificate2>
[[-ServiceType] <ServiceType>] [[-MonitoringTimeout] <Int32>] [[-PdfSignatureSize] <Int32>]
[[-CadesUseOcspAuthorizedPolicy] <Boolean>] [[-TokenTimeout] <Int32>] [[-RequireStrongConfirmation] <Boolean>]
[[-TransactionCacheMode] <TransactionCacheMode>] [[-IsAdditionalCertStoreEnabled] <Boolean>]
[[-AdditionalCertStoreName] <String>] [[-OcspServiceList] <String[]>] [[-CadesUseProxy] <Boolean>]
[[-ServiceIdentifier] <String>] [[-AllowedCorsOrigins] <String>] [[-AllowHashSigning] <Boolean>]
[[-AllowThirdPartyTsp] <Boolean>] [[-DefaultCspType] <UInt32>] [[-MaxPinAttempts] <Int32>]
[[-RequireUniquePfx] <Boolean>] [[-DocumentStoreAddress] <String>] [-WhatIf] [-Confirm]
[[-DisplayName] <String>] [<CommonParameters>]
CertFileNameParamSet
Set-DssProperties [[-PinMode] <PinCodeMode>]
[[-TSPList] <System.Collections.Generic.List`1[CryptoPro.DSS.Common.Service.TspService]>]
[[-SignatureTypeList] <System.Collections.Generic.List`1[CryptoPro.DSS.Common.Service.SignatureType]>]
[[-ValidateCertificateBeforeSignature] <Boolean>] [-ServiceCertificatePFX] <String>
[[-ServiceCertificatePassword] <String>] [[-ServiceType] <ServiceType>] [[-MonitoringTimeout] <Int32>]
[[-PdfSignatureSize] <Int32>] [[-CadesUseOcspAuthorizedPolicy] <Boolean>] [[-TokenTimeout] <Int32>]
[[-RequireStrongConfirmation] <Boolean>] [[-TransactionCacheMode] <TransactionCacheMode>]
[[-IsAdditionalCertStoreEnabled] <Boolean>] [[-AdditionalCertStoreName] <String>]
[[-OcspServiceList] <String[]>] [[-CadesUseProxy] <Boolean>] [[-ServiceIdentifier] <String>]
[[-AllowedCorsOrigins] <String>] [[-AllowHashSigning] <Boolean>] [[-AllowThirdPartyTsp] <Boolean>]
[[-DefaultCspType] <UInt32>] [[-MaxPinAttempts] <Int32>] [[-RequireUniquePfx] <Boolean>]
[[-DocumentStoreAddress] <String>] [-WhatIf] [-Confirm] [[-DisplayName] <String>] [<CommonParameters>]
DESCRIPTION
{{ Fill in the Description }}
EXAMPLES
Example 1
PS C:\> {{ Add example code here }}
{{ Add example description here }}
PARAMETERS
-AdditionalCertStoreName
Название хранилища, содержащего дополнительные сертификаты и CRL для сбора доказательств действительности сертификата подписи.
Type: String
Parameter Sets: (All)
Aliases: addstore
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AllowHashSigning
Разрешено ли создавать подпись по хэшу.
Type: Boolean
Parameter Sets: (All)
Aliases: allowhash
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AllowThirdPartyTsp
Разрешено ли использовать сторонние (незарегистрировынные на Сервисе Подписи) службы TSP.
Type: Boolean
Parameter Sets: (All)
Aliases: allow3rdtsp
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AllowedCorsOrigins
Допустимые источники запросов для контроля CORS.
Type: String
Parameter Sets: (All)
Aliases: cors
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CadesUseOcspAuthorizedPolicy
Разрешает использование групповой политики КриптоПро OCSP Client.
Type: Boolean
Parameter Sets: (All)
Aliases: cuoap
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CadesUseProxy
Использовать прокси при осуществлении CAdES подписи
Type: Boolean
Parameter Sets: (All)
Aliases: proxy
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DefaultCspType
Тип криптопровайдера по умолчанию.
Type: UInt32
Parameter Sets: (All)
Aliases: dcsp
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DisplayName
Имя экземпляра службы
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: SignServer
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DocumentStoreAddress
Адрес приложения хранилища документов
Type: String
Parameter Sets: (All)
Aliases: docstore
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-IsAdditionalCertStoreEnabled
Использовать дополнительное хранилище сертификатов при подписи.
Type: Boolean
Parameter Sets: (All)
Aliases: isaddstore
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-MaxPinAttempts
Максимально количество попыток ввода ПИН-кода.
Type: Int32
Parameter Sets: (All)
Aliases: maxpin
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-MonitoringTimeout
Период самотестирования в мили секундах
Type: Int32
Parameter Sets: (All)
Aliases: timeout
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-OcspServiceList
Список выделенных служб OCSP
Type: String[]
Parameter Sets: (All)
Aliases: ocsplist
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PdfSignatureSize
Максимальный размер подписи в PDF.
Type: Int32
Parameter Sets: (All)
Aliases: psz
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PinMode
Режим запроса пин-кода
Type: PinCodeMode
Parameter Sets: (All)
Aliases: pin
Accepted values: Required, Forbid, Allow
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RequireStrongConfirmation
Требовать строгое подтверждение операций.
Type: Boolean
Parameter Sets: (All)
Aliases: strongconfirm
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RequireUniquePfx
Требование уникальность импортируемых сертификатов из PFX.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ServiceCertificate
Сертификат службы
Type: X509Certificate2
Parameter Sets: CertificateParamSet
Aliases: c
Required: True
Position: Имя задано
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-ServiceCertificatePFX
Путь к файлу сертификата службы в формате pfx
Type: String
Parameter Sets: CertFileNameParamSet
Aliases: f
Required: True
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ServiceCertificatePassword
Пароль к файлу сертификата
Type: String
Parameter Sets: CertFileNameParamSet
Aliases: psw
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ServiceCertificateThumbprint
Отпечаток сертификата службы
Type: String
Parameter Sets: ThumbprintParamSet
Aliases: t
Required: True
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ServiceIdentifier
URN-идентификатор сервиса
Type: String
Parameter Sets: (All)
Aliases: serviceid
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ServiceType
Доступные типы сервиса
Type: ServiceType
Parameter Sets: (All)
Aliases: type
Accepted values: Server, Client, ServerAndClient
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SignatureTypeList
Список типов подписи, поддерживаемых сервисом
Type: System.Collections.Generic.List`1[CryptoPro.DSS.Common.Service.SignatureType]
Parameter Sets: (All)
Aliases: sigList
Accepted values: XMLDSig, GOST3410, CAdES, PDF, MSOffice, CMS
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-TSPList
Список служб штампов времени, доступных сервису
Type: System.Collections.Generic.List`1[CryptoPro.DSS.Common.Service.TspService]
Parameter Sets: (All)
Aliases: tspl
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-TokenTimeout
Время жизни токена для подтверждения операций в секундах
Type: Int32
Parameter Sets: (All)
Aliases: token
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-TransactionCacheMode
Режим работы кеша транзакций.
Type: TransactionCacheMode
Parameter Sets: (All)
Aliases:
Accepted values: DistributedCache, HalfDistributedCache, InMemoryCache
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ValidateCertificateBeforeSignature
Проверять сертификат перед подписью
Type: Boolean
Parameter Sets: (All)
Aliases: valcert
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Имя задано
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.