import { ASNEncodable } from "./ASNEncodable"; import { Verifiable } from "./Verifiable"; import { Validateable } from "./Validateable"; import { NFTAttestation } from "./NFTAttestation"; import { Signature } from "./Signature"; import { KeyPair } from "./KeyPair"; export declare class SignedNFTAttestation implements ASNEncodable, Verifiable, Validateable { static DEFAULT_SIGNING_VERSION: number; static PREFIX_MSG: string; static POSTFIX_MSG: string; private att; private signingVersion; private signature; private attestationVerificationKey; static fromAtt(att: NFTAttestation, subjectSigningKey: KeyPair): SignedNFTAttestation; static fromAttAndVer(att: NFTAttestation, subjectSigningKey: KeyPair, signingVersion: number): SignedNFTAttestation; /** * Constructor used for when we supply the signature separately */ static fromAttAndSign(att: NFTAttestation, signature: Signature): SignedNFTAttestation; static fromASN(asn1: Uint8Array, identifierAttestationVerificationKey: KeyPair): SignedNFTAttestation; private determineSigningVersion; makeSignature(encodedBytes: Uint8Array, signingVersion: number): Signature; makeSignatureWithKey(key: KeyPair, signingVersion: number): Signature; private getKeyFromAttestation; getUnsignedAttestation(): NFTAttestation; getSignature(): Signature; /** * Returns the public key of the attestation signer */ getAttestationVerificationKey(): KeyPair; getDerEncoding(): string; static constructSignedAttestation(unsignedAtt: NFTAttestation, signingVersion: number, signature: string): string; checkValidity(): boolean; verify(): boolean; }