Beispiel #1
0
 public AuthOptions()
 {
     _securityKeyLazy        = new Lazy <SecurityKey>(() => CertUtil.LoadECDSACert(SigningCertPath), LazyThreadSafetyMode.None);
     _signingCredentialsLazy = new Lazy <SigningCredentials>(() => new SigningCredentials(SecurityKey, SecurityAlgorithms.EcdsaSha512));
 }