Exemple #1
0
        //public async Task<IActionResult> OnPostAsync()
        public void OnPost()
        {
            Key = _service.GetKeyContent(KeyIdentifier);

            // sign/validate
            Signature           = _service.Sign(KeyIdentifier, Input);
            SignatureValidation = _service.Validate(KeyIdentifier, Input, Signature);
        }