Sign sets the blob builder's camliSigner field with SetSigner and returns the signed JSON using the provided signer.
(ctx context.Context, signer *Signer)
| 460 | // Sign sets the blob builder's camliSigner field with SetSigner |
| 461 | // and returns the signed JSON using the provided signer. |
| 462 | func (bb *Builder) Sign(ctx context.Context, signer *Signer) (string, error) { |
| 463 | return bb.SignAt(ctx, signer, time.Time{}) |
| 464 | } |
| 465 | |
| 466 | // SignAt sets the blob builder's camliSigner field with SetSigner |
| 467 | // and returns the signed JSON using the provided signer. |