void;
hasSigningKp: boolean;
+ signingKeyType: KeyTypeEnum | null;
}
export function renderForm({
@@ -59,7 +64,9 @@ export function renderForm({
errors = {},
setHasSigningKp,
hasSigningKp,
+ signingKeyType,
}: WSFederationProviderFormProps) {
+ const keyType = signingKeyType ?? KeyTypeEnum.Rsa;
const samlPropertyMappingSearch = async (query?: string) =>
(
await new PropertymappingsApi(DEFAULT_CONFIG).propertymappingsProviderSamlList(
@@ -170,6 +177,7 @@ export function renderForm({
.certificate=${provider.signingKp}
@input=${setHasSigningKp}
singleton
+ .allowedKeyTypes=${SAMLSupportedKeyTypes}
>
${msg(
@@ -202,6 +210,8 @@ export function renderForm({
>
${msg("When selected, assertions will be encrypted using this keypair.")}
@@ -278,23 +288,55 @@ export function renderForm({
-
-
+
+
-
-
+
+
`;
}