示例#1
0
        public void SetSecret(KeyId keyId, ISecret secret)
        {
            if (keyId == null)
            {
                throw new ArgumentNullException(nameof(keyId));
            }

            if (secret == null)
            {
                throw new ArgumentNullException(nameof(secret));
            }

            Secrets.AddOrReplace(keyId, secret);
        }