keyProviderType.setClassName(KeyStoreKeyManager.class.getName());
keyProviderType.setSigningAlias(KeyStoreProviderResourceDefinition.SIGN_KEY_ALIAS.resolveModelAttribute(context, model).asString());
AuthPropertyType keyStorePass = new AuthPropertyType();
keyStorePass.setKey("KeyStorePass");
keyStorePass.setValue(KeyStoreProviderResourceDefinition.PASSWORD.resolveModelAttribute(context, model).asString());
keyProviderType.add(keyStorePass);
AuthPropertyType signingKeyPass = new AuthPropertyType();
signingKeyPass.setKey("SigningKeyPass");
signingKeyPass.setValue(KeyStoreProviderResourceDefinition.SIGN_KEY_PASSWORD.resolveModelAttribute(context, model).asString());
keyProviderType.add(signingKeyPass);
AuthPropertyType signingKeyAlias = new AuthPropertyType();
signingKeyAlias.setKey("SigningKeyAlias");
signingKeyAlias.setValue(KeyStoreProviderResourceDefinition.SIGN_KEY_ALIAS.resolveModelAttribute(context, model).asString());
keyProviderType.add(signingKeyAlias);
return keyProviderType;
}