cloudkit-js
Version:
A JS library for managing a CloudKit container
14 lines (13 loc) • 427 B
TypeScript
/// <reference types="node" />
import { ISignService } from './types';
export declare class SignService implements ISignService {
private readonly privateKey;
private readonly keyId;
constructor(privateKey: Buffer, keyId: string);
protected getDateString(): string;
signRequest(payload: string, requestPath: string): {
signature: string;
dateString: string;
};
getKeyId(): string;
}