Documentation ¶
Index ¶
- type ActivateBody
- type ActivateCaResponse
- type BodyRequestPDFSignSSL
- type BodyRequestSign
- type BodyRequestSignSSL
- type Context
- type FilePathSSL
- type JsonCredentials
- type JsonPDFSigningResponse
- type JsonSigningBody
- type JsonSigningResponse
- type JsoncredentialsListResponse
- type Response
- type SSLConFig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateBody ¶
type ActivateBody struct {
CredentialId string `json:"credentialId"`
}
type ActivateCaResponse ¶
type BodyRequestPDFSignSSL ¶
type BodyRequestPDFSignSSL struct { PdfData string `json:"pdfData"` SadData string `json:"sadData"` CadData string `json:"cadData"` Reason string `json:"reason"` Location string `json:"location"` CertifyLevel string `json:"certifyLevel"` HashAlgorithm string `json:"hashAlgorithm"` OverwriteOriginal bool `json:"overwriteOriginal"` VisibleSignature string `json:"visibleSignature"` VisibleSignaturePage int `json:"visibleSignaturePage"` VisibleSignatureRectangle string `json:"visibleSignatureRectangle"` VisibleSignatureImagePath string `json:"visibleSignatureImagePath"` }
type BodyRequestSign ¶
type BodyRequestSign struct { Token string CredentialId string SignBody JsonSigningBody }
type BodyRequestSignSSL ¶
type Context ¶
type Context interface { Error() error InitSSL(SSLConFig) Context //ModePRD() Context //ModeUAT() Context Activate(BodyRequestSign, *ActivateCaResponse) Context ActivateByHost(string, BodyRequestSign, *ActivateCaResponse) Context JsonSigning(BodyRequestSign, *JsonSigningResponse) Context JsonSigningByHost(string, BodyRequestSign, *JsonSigningResponse) Context EncodeBase64(interface{}, *bytes.Buffer) Context JsonSigningSSL(BodyRequestSignSSL, *JsonSigningResponse) Context JsonSigningPDFSSL(string, BodyRequestPDFSignSSL, *JsonPDFSigningResponse) Context JsonSigningSSLDhp(BodyRequestSignSSL, *JsonSigningResponse) Context JsonSigningSSLByHost(string, BodyRequestSignSSL, *JsonSigningResponse) Context ListCredentials(BodyRequestSign, *JsoncredentialsListResponse) Context }
type FilePathSSL ¶
type JsonCredentials ¶
type JsonPDFSigningResponse ¶
type JsonSigningBody ¶
type JsonSigningResponse ¶
type JsoncredentialsListResponse ¶
type JsoncredentialsListResponse struct { TotalResult int `json:"totalResult"` Credentials []JsonCredentials `json:"credentials"` }
Click to show internal directories.
Click to hide internal directories.