import { Component } from "../types/common/types"; export interface CryptoAlgorithm { algorithm: string; strength: string; } export interface LocalCryptoAlgorithm { algorithm: string; algorithmId: string; strength: string; category: string; } export interface CryptoAlgorithmRules extends LocalCryptoAlgorithm { keywords: Array; } export interface CryptoAlgorithmJobResponse { file: string; algorithms: Array; } export interface LocalCryptoAlgorithmJob { file: string; rules: Map; cryptoMapper: Map; } export interface CryptoHintRule { "id": string; "name": string; "description": string; "keywords": Array; "url"?: string; "category": string; "purl"?: string; "tags": Array; } export interface LocalCryptoHintJob { file: string; rules: Array; } export interface CryptoHintJobResponse { file: string; hints: Array; } export interface CryptoHintResponse { "id": string; "name": string; "description": string; "url"?: string; "category": string; "purl"?: string; } export interface CryptoAlgorithmResponse extends CryptoAlgorithm { } export interface LocalCryptography { file: string; algorithms: Array; hints: Array; } export interface LocalCryptographyResponse { fileList: Array; } export interface CryptographyResponse { purl: string; version: string; requirement: string; algorithms: Array; hints: Array; } export interface CryptoRequest { purls: Component[]; }