/**
 * Interface defining all safeguards for validation
 */ export interface IValidationSafeguards { maxNumberOfVPTokensInSiop ? : number ; maxSizeOfVPTokensInSiop ? : number ; maxNumberOfVCTokensInPresentation ? : number ; maxSizeOfVCTokensInPresentation ? : number ; maxNumberOfIdTokensInSiop ? : number ; maxSizeOfIdToken ? : number ; } /**
 * Class to define the safeguards used during validation of tokens
 */ export default class ValidationSafeguards { private _maxNumberOfVPTokensInSiop : number ; private _maxSizeOfVPTokensInSiop : number ; private _maxNumberOfVCTokensInPresentation : number ; private _maxSizeOfVCTokensInPresentation : number ; private _maxNumberOfIdTokensInSiop : number ; private _maxSizeOfIdToken : number ; constructor ( safeguards ? ) { this . _maxNumberOfVPTokensInSiop = safeguards ?. maxNumberOfVPTokensInSiop || 10 ; this . _maxSizeOfVPTokensInSiop = safeguards ?. maxSizeOfVPTokensInSiop || 16 * 1024 * 1024 ; this . _maxNumberOfVCTokensInPresentation = safeguards ?. maxNumberOfVCTokensInPresentation || 1 ; this . _maxSizeOfVCTokensInPresentation = safeguards ?. maxSizeOfVCTokensInPresentation || 16 * 1024 * 1024 ; this . _maxNumberOfIdTokensInSiop = safeguards ?. maxNumberOfIdTokensInSiop || 5 ; this . _maxSizeOfIdToken = safeguards ?. maxSizeOfIdToken || 16 * 1024 * 1024 ; } /**
     * Gets the maximum number of VP tokens in a SIOP
     */ public get maxNumberOfVPTokensInSiop ( ) { return this . _maxNumberOfVPTokensInSiop ; } /**
     * Sets the maximum number of VP tokens in a SIOP
     */ public set maxNumberOfVPTokensInSiop ( value ) { this . _maxNumberOfVPTokensInSiop = value ; } /**
     * Gets the maximum number of VP tokens in a SIOP
     */ public get maxNumberOfVCTokensInPresentation ( ) { return this . _maxNumberOfVCTokensInPresentation ; } /**
     * Sets the maximum number of VP tokens in a SIOP
     */ public set maxNumberOfVCTokensInPresentation ( value ) { this . _maxNumberOfVCTokensInPresentation = value ; } /**
     * Gets the maximum number of VP tokens in a SIOP
     */ public get maxSizeOfVPTokensInSiop ( ) { return this . _maxSizeOfVPTokensInSiop ; } /**
     * Sets the maximum number of VP tokens in a SIOP
     */ public set maxSizeOfVPTokensInSiop ( value ) { this . _maxSizeOfVPTokensInSiop = value ; } /**
     * Gets the maximum number of VP tokens in a SIOP
     */ public get maxSizeOfVCTokensInPresentation ( ) { return this . _maxSizeOfVCTokensInPresentation ; } /**
     * Sets the maximum number of VP tokens in a SIOP
     */ public set maxSizeOfVCTokensInPresentation ( value ) { this . _maxSizeOfVCTokensInPresentation = value ; } /**
     * Gets the maximum number of VP tokens in a SIOP
     */ public get maxNumberOfIdTokensInSiop ( ) { return this . _maxNumberOfIdTokensInSiop ; } /**
     * Sets the maximum number of VP tokens in a SIOP
     */ public set maxNumberOfIdTokensInSiop ( value ) { this . _maxNumberOfIdTokensInSiop = value ; } /**
     * Gets the maximum number of VP tokens in a SIOP
     */ public get maxSizeOfIdToken ( ) { return this . _maxSizeOfIdToken ; } /**
     * Sets the maximum number of VP tokens in a SIOP
     */ public set maxSizeOfIdToken ( value ) { this . _maxSizeOfIdToken = value ; } }