Ejemplo n.º 1
0
        private void FillSigningKey(RoleDescriptor sts)
        {
            var signingKey = new KeyDescriptor(SigningCredentials.SigningKeyIdentifier)
            {
                Use = KeyType.Signing
            };

            sts.Keys.Add(signingKey);
        }
Ejemplo n.º 2
0
 private void FillSupportedProtocols(RoleDescriptor sts)
 {
     sts.ProtocolsSupported.Add(new System.Uri(Namespace));
 }