- Home [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
- Getting started
- Use cases
-
API
- Object types
- Data types
- Global constants
- Work with apps
- Web requests
- Access permissions
- Document flow
- Live Chats
- “Code” widget
-
Signatures
- DigitalSignIdentificationType
- DigitalSignRequestStatus
- EntitySignOperationStatus
- SignStatus
- SignType
- SignTypes
- CertData
- CertNames
- DigitalSign
- DigitalSignActualizationData
- DigitalSignItemData
- DigitalSignProviderRef
- DigitalSignRequest
- DigitalSignSearch
- DigitalSigns
- EntitySign
- EntitySignItem
- EntitySignSearch
- EntitySigns
- EntityVersion
- NewSign
- SignData
- SignDetails
- SignProvider
- SignProviderItem
- SignProviderSearch
- SignProviders
- Signs
- SignHash
- SignedContent
- Business calendars
- Integration with IP telephony
- Integration with email marketing services
Object for working with requests for issuing digital signature certificates
Hierarchy
Methods
createDraft
Creates digital signature draft.
The method creates a draft of a digital signature that allows you to store the state and the public key of a third-party provider. The process of issuing a digital signature usually takes some time. Making a draft allows
being in synch with the external provider.
Parameters
issueId: string
provider: SignProviderItem
Returns Promise<DigitalSign>
Digital signature certificate. Example:
// The function that creates a digital signature on the side of the external provider is called // The name of the `createDigitalSignInExternalProvider` function is given as an example const issueId = await createDigitalSignInExternalProvider(); // Digital signature provider const provider = await System.signs.providers.search().where(f => f.__id.eq( '<some id>')).first(); const digitalSign = await System.signs.digitalSigns. createDraft(issueId, provider);
getLastRequest
The method returns the most recent request created by the current user.
The method allows you to get the most recent digital signature certificate issuing request created by the user. This method is used to organize digital signature certificate issuing processes. For example, after a request is created, the issuing of a certificate later needs to be confirmed by entering a password or authorizing in an external service. To make it possible, we need to get the most recent request created by a user and ask the provider to send a password. In the example, we get the most recent request of the current user and request a password for it.
Parameters
provider: DigitalSignProviderRef
Returns Promise<DigitalSign>
Digital signature certificate.
// Получение последней созданной заявки const providerItem = await System.signs.providers.search(). first(); const provider = {namespace: providerItem?.data.namespace, code: providerItem?.data.code!}; const lastRequest = await System.signs. digitalSigns.getLastRequest(provider);
search
Performs search by digital signatures.
Using this method, you can:
Returns DigitalSignSearch
Object used to make search queries to search for signatures. Example:
const digitalSign = await System.signs.digitalSigns.search(). where(f => f.__id.eq('<some id>')).first();
Methods