Primeiro commit do projeto Angular
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
import { JSONObject } from './utils';
|
||||
export interface SignatureOptions {
|
||||
keyID: string;
|
||||
sig: string;
|
||||
}
|
||||
/**
|
||||
* A container class containing information about a signature.
|
||||
*
|
||||
* Contains a signature and the keyid uniquely identifying the key used
|
||||
* to generate the signature.
|
||||
*
|
||||
* Provide a `fromJSON` method to create a Signature from a JSON object.
|
||||
*/
|
||||
export declare class Signature {
|
||||
readonly keyID: string;
|
||||
readonly sig: string;
|
||||
constructor(options: SignatureOptions);
|
||||
toJSON(): JSONObject;
|
||||
static fromJSON(data: JSONObject): Signature;
|
||||
}
|
||||
Reference in New Issue
Block a user