import { AuthenticationModel } from './AuthenticationModel'; import { RemoteKeyAuthorizationModel } from './RemoteKeyAuthorizationModel'; /** * Model to express a Remote Key */ export declare class RemoteKeyModel { kid?: string | undefined; key?: string | undefined; x5t?: string | undefined; pfx?: string | undefined; extractable: boolean; authorization?: RemoteKeyAuthorizationModel | undefined; authentication?: AuthenticationModel | undefined; /** * * @param kid analog to the JOSE key id parameter which may be used to identify an arbitrary key * @param key url to a remote private key which may execute a decrypt/sign operation * @param x5t the thumbprint of a certificate identifying the public key counterpart of the private key * @param pfx url instructing the issuer about where to obtain a PKCS 12 to obtain the private key for a decrypt/sign operation * @param extractable flag indicating if the remote key is extractable * @param authorization deprecated * @param authentication an object that describes how the to authenticate to the remote signer */ constructor(kid?: string | undefined, key?: string | undefined, x5t?: string | undefined, pfx?: string | undefined, extractable?: boolean, authorization?: RemoteKeyAuthorizationModel | undefined, authentication?: AuthenticationModel | undefined); /** * Populate an instance of RemoteKeyAuthorizationModel from any instance * @param input object instance to populate from * @param authentication AuthenticationModel instance from the parent object */ populateFrom(input: any, authentication?: AuthenticationModel): void; }